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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001836/0.001836, allocations: 107 kB / 15.99 MB, free: 6.359 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.00171/0.00171, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.684/2.684, allocations: 482.4 MB / 0.755 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 68.27 kB / 0.924 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8344/0.8364, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2046/1.041, allocations: 152.4 MB / 1.231 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01685/1.058, allocations: 10.41 MB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/1.059, allocations: 19.88 kB / 1.241 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/1.06, allocations: 234.4 kB / 1.242 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003236/1.064, allocations: 0.8752 MB / 1.242 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/1.067, allocations: 0.9667 MB / 1.243 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0026/1.069, allocations: 1.721 MB / 1.245 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/1.071, allocations: 1.15 MB / 1.246 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/1.073, allocations: 0.7218 MB / 1.247 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008333/1.074, allocations: 0.6185 MB / 1.248 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/1.075, allocations: 136 kB / 1.248 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/1.077, allocations: 1.014 MB / 1.249 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003886/1.077, allocations: 386.8 kB / 1.249 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007349/1.078, allocations: 0.6724 MB / 1.25 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/1.08, allocations: 1.641 MB / 1.251 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.08, allocations: 0 / 1.251 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/1.08, allocations: 0 / 1.251 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.896e-05/1.08, allocations: 0 / 1.251 GB, free: 1.668 MB / 0.9669 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.003452/1.084, allocations: 1.707 MB / 1.253 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.084, allocations: 12.03 kB / 1.253 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/1.085, allocations: 274.1 kB / 1.253 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.087, allocations: 0.8784 MB / 1.254 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/1.087, allocations: 70 kB / 1.254 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.087, allocations: 96 kB / 1.254 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/1.089, allocations: 1.106 MB / 1.255 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.089, allocations: 3.938 kB / 1.255 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/1.089, allocations: 40 kB / 1.255 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/1.089, allocations: 24 kB / 1.255 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/1.091, allocations: 1.323 MB / 1.257 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/1.097, allocations: 3.48 MB / 1.26 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/1.099, allocations: 1.106 MB / 1.261 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008731/1.1, allocations: 438.7 kB / 1.262 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/1.101, allocations: 138 kB / 1.262 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/1.102, allocations: 0.6177 MB / 1.262 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=95): time 2.344e-06/1.102, allocations: 0 / 1.262 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95): time 0.004406/1.106, allocations: 1.627 MB / 1.264 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.106, allocations: 192.9 kB / 1.264 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.108, allocations: 0.8095 MB / 1.265 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.108, allocations: 49.7 kB / 1.265 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/1.108, allocations: 456.5 kB / 1.265 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/1.108, allocations: 315.5 kB / 1.266 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/1.109, allocations: 186.5 kB / 1.266 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.109, allocations: 341.9 kB / 1.266 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/1.11, allocations: 353.8 kB / 1.266 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/1.111, allocations: 481.6 kB / 1.267 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.112, allocations: 0.7843 MB / 1.268 GB, free: 312 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.112, allocations: 4 kB / 1.268 GB, free: 308 kB / 0.9825 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00268/1.115, allocations: 1.084 MB / 1.269 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.115, allocations: 8.062 kB / 1.269 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.115, allocations: 0 / 1.269 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/1.116, allocations: 113.6 kB / 1.269 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/1.117, allocations: 211.7 kB / 1.269 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/1.12, allocations: 3.077 MB / 1.272 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.121, allocations: 107.4 kB / 1.272 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/1.121, allocations: 43.97 kB / 1.272 GB, free: 11.35 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.0006075/1.122, allocations: 307.3 kB / 1.273 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/1.122, allocations: 110.7 kB / 1.273 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/1.125, allocations: 1.31 MB / 1.274 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.125, allocations: 12 kB / 1.274 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.125, allocations: 4 kB / 1.274 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.125, allocations: 7.969 kB / 1.274 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/1.13, allocations: 2.422 MB / 1.276 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.13, allocations: 0 / 1.276 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/1.131, allocations: 203.7 kB / 1.276 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005783/1.131, allocations: 101.6 kB / 1.277 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/1.132, allocations: 31.91 kB / 1.277 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/1.135, allocations: 3.093 MB / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.135, allocations: 0 / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/1.138, allocations: 1.231 MB / 1.281 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/1.138, allocations: 319.5 kB / 1.281 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.139, allocations: 16 kB / 1.281 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/1.139, allocations: 81.34 kB / 1.281 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/1.14, allocations: 100.8 kB / 1.281 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.14, allocations: 43.97 kB / 1.281 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008045/1.141, allocations: 0.5693 MB / 1.282 GB, free: 1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.141, allocations: 0 / 1.282 GB, free: 1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001214/1.142, allocations: 451.1 kB / 1.282 GB, free: 0.5586 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.002237/1.144, allocations: 0.7227 MB / 1.283 GB, free: 20 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00346/1.148, allocations: 1.388 MB / 1.284 GB, free: 14.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.148, allocations: 0 / 1.284 GB, free: 14.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/1.149, allocations: 0.7371 MB / 1.285 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.151, allocations: 360.9 kB / 1.285 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/1.155, allocations: 2.526 MB / 1.288 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/1.156, allocations: 1.099 MB / 1.289 GB, free: 9.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/1.156, allocations: 127.4 kB / 1.289 GB, free: 9.695 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.156, allocations: 4 kB / 1.289 GB, free: 9.691 MB / 1.014 GB Notification: Performance of Templates: time 0.03749/1.194, allocations: 27.38 MB / 1.316 GB, free: 14.38 MB / 1.045 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=400 -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