Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00117/0.00117, allocations: 108 kB / 15.6 MB, free: 132 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.001387/0.001387, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7103 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5978, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1737/0.7716, allocations: 154.5 MB / 1.168 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.7847, allocations: 10.53 MB / 1.178 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008075/0.7856, allocations: 19.88 kB / 1.178 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008329/0.7864, allocations: 281.7 kB / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.7889, allocations: 0.9656 MB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.7912, allocations: 1.083 MB / 1.181 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.7927, allocations: 1.709 MB / 1.182 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.794, allocations: 1.146 MB / 1.184 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.7954, allocations: 0.7189 MB / 1.184 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.7961, allocations: 0.6163 MB / 1.185 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.7963, allocations: 132 kB / 1.185 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.798, allocations: 0.9948 MB / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.7984, allocations: 390.8 kB / 1.186 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.799, allocations: 0.6646 MB / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.8014, allocations: 2.173 MB / 1.189 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.8014, allocations: 0 / 1.189 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8014, allocations: 0 / 1.189 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.8014, allocations: 4 kB / 1.189 GB, free: 1.891 MB / 0.9356 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.003048/0.8045, allocations: 1.703 MB / 1.191 GB, free: 136 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.8045, allocations: 12.03 kB / 1.191 GB, free: 124 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.8061, allocations: 262.2 kB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.8072, allocations: 0.8783 MB / 1.192 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.8073, allocations: 74 kB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.8074, allocations: 96 kB / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.8093, allocations: 1.106 MB / 1.193 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.8093, allocations: 7.938 kB / 1.193 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-05/0.8094, allocations: 40 kB / 1.193 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.8094, allocations: 24 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.8116, allocations: 1.323 MB / 1.194 GB, free: 12.24 MB / 0.9512 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.005002/0.8166, allocations: 3.449 MB / 1.198 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.8185, allocations: 1.096 MB / 1.199 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.8193, allocations: 424.6 kB / 1.199 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.8196, allocations: 142 kB / 1.199 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.8207, allocations: 0.6176 MB / 1.2 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.605e-06/0.8207, allocations: 0 / 1.2 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.004112/0.8248, allocations: 1.631 MB / 1.202 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.8249, allocations: 192.9 kB / 1.202 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009519/0.8259, allocations: 0.8096 MB / 1.203 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.826, allocations: 45.7 kB / 1.203 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.8263, allocations: 460.5 kB / 1.203 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.8266, allocations: 311.5 kB / 1.203 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.8268, allocations: 186.5 kB / 1.204 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.827, allocations: 341.9 kB / 1.204 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.8277, allocations: 353.8 kB / 1.204 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/0.8285, allocations: 481.5 kB / 1.205 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.83, allocations: 0.7921 MB / 1.205 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.83, allocations: 0 / 1.205 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002468/0.8325, allocations: 1.084 MB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8325, allocations: 7.984 kB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8326, allocations: 0 / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007476/0.8333, allocations: 117.7 kB / 1.207 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009096/0.8342, allocations: 211.7 kB / 1.207 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.8372, allocations: 3.061 MB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.8381, allocations: 119.3 kB / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.8382, allocations: 39.97 kB / 1.21 GB, free: 11.64 MB / 0.9669 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.0005046/0.8387, allocations: 303.4 kB / 1.21 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.8389, allocations: 102.8 kB / 1.21 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.8418, allocations: 1.326 MB / 1.212 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.8419, allocations: 12 kB / 1.212 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8419, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.8419, allocations: 3.984 kB / 1.212 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.8459, allocations: 2.426 MB / 1.214 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8459, allocations: 0 / 1.214 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.8468, allocations: 187.8 kB / 1.214 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005735/0.8474, allocations: 109.6 kB / 1.214 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.8474, allocations: 31.91 kB / 1.214 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/0.8502, allocations: 3.088 MB / 1.217 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8502, allocations: 4 kB / 1.217 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.8529, allocations: 1.227 MB / 1.219 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.8534, allocations: 315.5 kB / 1.219 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.8536, allocations: 20 kB / 1.219 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/0.8544, allocations: 88.78 kB / 1.219 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.8546, allocations: 80.83 kB / 1.219 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.305e-05/0.8547, allocations: 43.97 kB / 1.219 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007164/0.8554, allocations: 0.5732 MB / 1.22 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8555, allocations: 0 / 1.22 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001164/0.8566, allocations: 455.1 kB / 1.22 GB, free: 0.8633 MB / 0.9669 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.007297/0.8639, allocations: 0.7213 MB / 1.221 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0033/0.8672, allocations: 1.392 MB / 1.222 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8673, allocations: 4 kB / 1.222 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.8685, allocations: 0.7332 MB / 1.223 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.8702, allocations: 362.2 kB / 1.223 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.8738, allocations: 2.042 MB / 1.225 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.8745, allocations: 1.099 MB / 1.226 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001076/0.8756, allocations: 315.7 kB / 1.227 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.8759, allocations: 119.4 kB / 1.227 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.8759, allocations: 0 / 1.227 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of Templates: time 0.03197/0.9079, allocations: 20 MB / 1.246 GB, free: 6.406 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches