Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 108.8 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 189.8 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7885, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1624/0.951, allocations: 154.5 MB / 1.359 GB, free: 2.438 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.9666, allocations: 10.54 MB / 1.37 GB, free: 7.867 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009738/0.9676, allocations: 19.88 kB / 1.37 GB, free: 7.848 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.9688, allocations: 277.7 kB / 1.37 GB, free: 7.574 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.9724, allocations: 0.9707 MB / 1.371 GB, free: 6.605 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.9756, allocations: 1.086 MB / 1.372 GB, free: 5.527 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002491/0.9781, allocations: 1.737 MB / 1.374 GB, free: 3.785 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.98, allocations: 1.148 MB / 1.375 GB, free: 2.613 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.9821, allocations: 0.7182 MB / 1.375 GB, free: 1.906 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.9832, allocations: 0.6224 MB / 1.376 GB, free: 1.281 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.9836, allocations: 136 kB / 1.376 GB, free: 1.148 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.9859, allocations: 1.026 MB / 1.377 GB, free: 124 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.9865, allocations: 386.9 kB / 1.378 GB, free: 15.74 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009991/0.9875, allocations: 0.6685 MB / 1.378 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.9911, allocations: 2.216 MB / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9911, allocations: 0 / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9912, allocations: 0 / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.479e-05/0.9912, allocations: 0 / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003824/0.995, allocations: 1.707 MB / 1.382 GB, free: 11.08 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9951, allocations: 12.03 kB / 1.382 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.997, allocations: 266.1 kB / 1.382 GB, free: 10.81 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.9986, allocations: 0.9056 MB / 1.383 GB, free: 9.859 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/0.9987, allocations: 73.98 kB / 1.383 GB, free: 9.789 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.9989, allocations: 99.94 kB / 1.383 GB, free: 9.691 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/1.001, allocations: 1.113 MB / 1.384 GB, free: 8.535 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.001, allocations: 4 kB / 1.384 GB, free: 8.531 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.001, allocations: 36 kB / 1.384 GB, free: 8.496 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/1.001, allocations: 24 kB / 1.384 GB, free: 8.473 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/1.004, allocations: 1.323 MB / 1.386 GB, free: 7.152 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/1.01, allocations: 3.395 MB / 1.389 GB, free: 3.594 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/1.012, allocations: 1.098 MB / 1.39 GB, free: 2.48 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/1.012, allocations: 420 kB / 1.391 GB, free: 2.062 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/1.013, allocations: 142 kB / 1.391 GB, free: 1.906 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/1.014, allocations: 0.6254 MB / 1.391 GB, free: 1.262 MB / 1.107 GB Notification: Performance of pre-optimization done (n=95): time 2.465e-06/1.014, allocations: 0 / 1.391 GB, free: 1.262 MB / 1.107 GB Notification: Performance of matching and sorting (n=95): time 0.004334/1.018, allocations: 1.631 MB / 1.393 GB, free: 15.58 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.018, allocations: 188.9 kB / 1.393 GB, free: 15.36 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.019, allocations: 0.8057 MB / 1.394 GB, free: 14.54 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/1.02, allocations: 57.69 kB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/1.02, allocations: 456.5 kB / 1.394 GB, free: 14.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/1.02, allocations: 315.5 kB / 1.395 GB, free: 13.71 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/1.021, allocations: 186.5 kB / 1.395 GB, free: 13.52 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.021, allocations: 334 kB / 1.395 GB, free: 13.19 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007669/1.022, allocations: 353.8 kB / 1.395 GB, free: 12.84 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009088/1.023, allocations: 481.6 kB / 1.396 GB, free: 12.35 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/1.024, allocations: 0.7882 MB / 1.397 GB, free: 11.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.024, allocations: 0 / 1.397 GB, free: 11.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002628/1.027, allocations: 1.091 MB / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.027, allocations: 4 kB / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.027, allocations: 3.984 kB / 1.398 GB, free: 10.44 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007643/1.028, allocations: 117.6 kB / 1.398 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/1.029, allocations: 203.7 kB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/1.032, allocations: 3.064 MB / 1.401 GB, free: 6.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.033, allocations: 109.5 kB / 1.401 GB, free: 6.664 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/1.033, allocations: 43.97 kB / 1.401 GB, free: 6.621 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006728/1.034, allocations: 307.3 kB / 1.402 GB, free: 6.312 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/1.034, allocations: 106.7 kB / 1.402 GB, free: 6.207 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/1.037, allocations: 1.314 MB / 1.403 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.037, allocations: 12 kB / 1.403 GB, free: 4.859 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.037, allocations: 4 kB / 1.403 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.038, allocations: 3.984 kB / 1.403 GB, free: 4.852 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/1.042, allocations: 2.431 MB / 1.405 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.042, allocations: 4 kB / 1.405 GB, free: 2.352 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008582/1.043, allocations: 191.8 kB / 1.405 GB, free: 2.164 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005866/1.044, allocations: 97.62 kB / 1.406 GB, free: 2.062 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/1.044, allocations: 39.91 kB / 1.406 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/1.047, allocations: 3.096 MB / 1.409 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.047, allocations: 0 / 1.409 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/1.05, allocations: 1.237 MB / 1.41 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/1.05, allocations: 311.5 kB / 1.41 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/1.051, allocations: 20 kB / 1.41 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/1.052, allocations: 83.97 kB / 1.41 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.052, allocations: 84.83 kB / 1.41 GB, free: 12.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.052, allocations: 43.97 kB / 1.41 GB, free: 12.83 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008969/1.053, allocations: 0.5732 MB / 1.411 GB, free: 12.26 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.21e-07/1.053, allocations: 0 / 1.411 GB, free: 12.26 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001385/1.054, allocations: 451.2 kB / 1.411 GB, free: 11.82 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/1.056, allocations: 0.7132 MB / 1.412 GB, free: 11.29 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00252/1.059, allocations: 1.146 MB / 1.413 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.059, allocations: 4.188 kB / 1.413 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/1.06, allocations: 0.7332 MB / 1.414 GB, free: 9.359 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/1.062, allocations: 367.3 kB / 1.414 GB, free: 9.02 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/1.066, allocations: 2.031 MB / 1.416 GB, free: 6.961 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/1.067, allocations: 1.096 MB / 1.417 GB, free: 5.832 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/1.068, allocations: 139.3 kB / 1.417 GB, free: 5.695 MB / 1.139 GB Notification: Performance of SimCode: time 9.02e-07/1.068, allocations: 0 / 1.417 GB, free: 5.695 MB / 1.139 GB Notification: Performance of Templates: time 0.0372/1.105, allocations: 27.51 MB / 1.444 GB, free: 10.25 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches