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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001177/0.001177, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.469/1.469, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 462.6 MB / 0.737 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 10.56 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1587/0.4965, allocations: 150.2 MB / 1.206 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.5118, allocations: 10.43 MB / 1.216 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.513, allocations: 19.88 kB / 1.216 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.5142, allocations: 226.4 kB / 1.216 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.5175, allocations: 0.8266 MB / 1.217 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.5203, allocations: 0.9462 MB / 1.218 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.5227, allocations: 1.709 MB / 1.22 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.5246, allocations: 0.9903 MB / 1.221 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.5271, allocations: 0.5515 MB / 1.221 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009327/0.528, allocations: 0.4936 MB / 1.222 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.5283, allocations: 32 kB / 1.222 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.5305, allocations: 0.9321 MB / 1.223 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.5309, allocations: 254.9 kB / 1.223 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008618/0.5317, allocations: 0.5647 MB / 1.224 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.534, allocations: 1.582 MB / 1.225 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.534, allocations: 3.984 kB / 1.225 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5341, allocations: 0 / 1.225 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.251e-05/0.5341, allocations: 0 / 1.225 GB, free: 10.61 MB / 0.9825 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.003345/0.5375, allocations: 1.454 MB / 1.227 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5375, allocations: 15.95 kB / 1.227 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.5393, allocations: 286.1 kB / 1.227 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.541, allocations: 0.8823 MB / 1.228 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/0.5411, allocations: 70 kB / 1.228 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.5413, allocations: 99.94 kB / 1.228 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.5437, allocations: 1.121 MB / 1.229 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.5437, allocations: 4 kB / 1.229 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.5439, allocations: 40 kB / 1.229 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.5439, allocations: 24 kB / 1.229 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.5464, allocations: 1.335 MB / 1.23 GB, free: 5.148 MB / 0.9825 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.006431/0.5529, allocations: 3.471 MB / 1.234 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.5551, allocations: 1.122 MB / 1.235 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/0.556, allocations: 428 kB / 1.235 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.5563, allocations: 138.1 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.5575, allocations: 0.6332 MB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 3.056e-06/0.5575, allocations: 3.938 kB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004425/0.562, allocations: 1.663 MB / 1.238 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.5621, allocations: 196.9 kB / 1.238 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.5635, allocations: 0.8056 MB / 1.239 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.5637, allocations: 49.7 kB / 1.239 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.5641, allocations: 448.6 kB / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.5644, allocations: 315.5 kB / 1.239 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.5646, allocations: 77.67 kB / 1.239 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5647, allocations: 345.9 kB / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/0.5655, allocations: 357.8 kB / 1.24 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.5664, allocations: 489.6 kB / 1.241 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.568, allocations: 0.8038 MB / 1.241 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.568, allocations: 0 / 1.241 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002737/0.5708, allocations: 1.111 MB / 1.242 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5708, allocations: 5.562 kB / 1.242 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5708, allocations: 0 / 1.242 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007928/0.5716, allocations: 121.7 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.5726, allocations: 211.7 kB / 1.243 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.5758, allocations: 2.863 MB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5771, allocations: 129.7 kB / 1.246 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.5772, allocations: 47.97 kB / 1.246 GB, free: 4.707 MB / 0.9981 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.0007816/0.578, allocations: 311.5 kB / 1.246 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.5783, allocations: 102.8 kB / 1.246 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.5816, allocations: 1.334 MB / 1.247 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5816, allocations: 12 kB / 1.247 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5817, allocations: 0 / 1.247 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5817, allocations: 3.984 kB / 1.247 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/0.5863, allocations: 2.45 MB / 1.25 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.5864, allocations: 0 / 1.25 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.5873, allocations: 191.8 kB / 1.25 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006686/0.5879, allocations: 113.6 kB / 1.25 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.588, allocations: 35.98 kB / 1.25 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5895/1.178, allocations: 2.869 MB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.178, allocations: 4.656 kB / 1.253 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/1.181, allocations: 1.246 MB / 1.254 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/1.181, allocations: 334.8 kB / 1.254 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.181, allocations: 20.58 kB / 1.254 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/1.182, allocations: 104 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/1.183, allocations: 83.83 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.183, allocations: 43.78 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008542/1.184, allocations: 0.57 MB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.184, allocations: 2.656 kB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001425/1.185, allocations: 454.2 kB / 1.256 GB, free: 186.8 MB / 0.9981 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.001773/1.187, allocations: 0.7217 MB / 1.256 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002189/1.189, allocations: 1.161 MB / 1.258 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.189, allocations: 6.781 kB / 1.258 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/1.19, allocations: 0.7452 MB / 1.258 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.192, allocations: 326.9 kB / 1.259 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/1.196, allocations: 2.552 MB / 1.261 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/1.196, allocations: 1.102 MB / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/1.197, allocations: 135.5 kB / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.197, allocations: 0 / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04526/1.242, allocations: 27.23 MB / 1.289 GB, free: 174.8 MB / 0.9981 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