Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001789, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001922/0.001922, allocations: 194.9 kB / 16.14 MB, free: 6.699 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 482.4 MB / 0.7542 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 65.23 kB / 0.9231 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3558, allocations: 162.2 MB / 1.082 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2117/0.5676, allocations: 166.1 MB / 1.244 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6311/1.199, allocations: 17.38 MB / 1.261 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/1.2, allocations: 28.44 kB / 1.261 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/1.202, allocations: 492.1 kB / 1.261 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/1.206, allocations: 1.584 MB / 1.263 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/1.209, allocations: 1.267 MB / 1.264 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003558/1.213, allocations: 3.052 MB / 1.267 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/1.215, allocations: 1.81 MB / 1.269 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005811/1.221, allocations: 1.267 MB / 1.27 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/1.223, allocations: 1.087 MB / 1.271 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003057/1.223, allocations: 117.7 kB / 1.271 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/1.227, allocations: 1.58 MB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007446/1.228, allocations: 0.6849 MB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/1.229, allocations: 1.124 MB / 1.274 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/1.234, allocations: 3.504 MB / 1.278 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.234, allocations: 4 kB / 1.278 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/1.234, allocations: 0 / 1.278 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.904e-05/1.234, allocations: 0 / 1.278 GB, free: 6.18 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004935/1.239, allocations: 2.747 MB / 1.281 GB, free: 20.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.239, allocations: 9.781 kB / 1.281 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/1.243, allocations: 0.5543 MB / 1.281 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/1.245, allocations: 1.59 MB / 1.283 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.245, allocations: 125.7 kB / 1.283 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/1.245, allocations: 169.8 kB / 1.283 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/1.249, allocations: 1.945 MB / 1.285 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.249, allocations: 0 / 1.285 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/1.249, allocations: 74.38 kB / 1.285 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/1.249, allocations: 40.59 kB / 1.285 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/1.253, allocations: 2.093 MB / 1.287 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009074/1.262, allocations: 6.274 MB / 1.293 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/1.265, allocations: 2.096 MB / 1.295 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/1.266, allocations: 0.7622 MB / 1.296 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/1.267, allocations: 435.4 kB / 1.296 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/1.269, allocations: 1.004 MB / 1.297 GB, free: 16.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.547e-06/1.269, allocations: 0 / 1.297 GB, free: 16.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006779/1.275, allocations: 2.948 MB / 1.3 GB, free: 15.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.275, allocations: 201.8 kB / 1.3 GB, free: 15.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/1.278, allocations: 1.79 MB / 1.302 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002073/1.278, allocations: 58.73 kB / 1.302 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/1.279, allocations: 0.8251 MB / 1.303 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/1.279, allocations: 482.1 kB / 1.303 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004727/1.28, allocations: 259.3 kB / 1.304 GB, free: 14.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.28, allocations: 358.7 kB / 1.304 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/1.281, allocations: 0.5916 MB / 1.305 GB, free: 14.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/1.282, allocations: 0.8024 MB / 1.305 GB, free: 14.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/1.284, allocations: 1.334 MB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.284, allocations: 0 / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003969/1.288, allocations: 1.803 MB / 1.309 GB, free: 14.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.288, allocations: 8.344 kB / 1.309 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.288, allocations: 1.344 kB / 1.309 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.289, allocations: 221.8 kB / 1.309 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.291, allocations: 338.2 kB / 1.309 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006229/1.297, allocations: 6.806 MB / 1.316 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/1.299, allocations: 179.7 kB / 1.316 GB, free: 7.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.299, allocations: 58.45 kB / 1.316 GB, free: 7.562 MB / 1.014 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001253/1.301, allocations: 484.6 kB / 1.316 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/1.301, allocations: 179.2 kB / 1.317 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/1.305, allocations: 2.13 MB / 1.319 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.305, allocations: 19.62 kB / 1.319 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.305, allocations: 5.484 kB / 1.319 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.305, allocations: 6.141 kB / 1.319 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006396/1.312, allocations: 3.983 MB / 1.323 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.312, allocations: 0 / 1.323 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.313, allocations: 315.6 kB / 1.323 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009263/1.314, allocations: 219.9 kB / 1.323 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.314, allocations: 46.61 kB / 1.323 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006739/1.321, allocations: 6.818 MB / 1.33 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.321, allocations: 6.938 kB / 1.33 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/1.326, allocations: 1.99 MB / 1.332 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.327, allocations: 467.2 kB / 1.332 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005118/1.328, allocations: 38.58 kB / 1.332 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.329, allocations: 133.8 kB / 1.332 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.33, allocations: 118.3 kB / 1.332 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.33, allocations: 68.34 kB / 1.333 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00213/1.332, allocations: 1.281 MB / 1.334 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.332, allocations: 0 / 1.334 GB, free: 13.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002578/1.335, allocations: 0.6824 MB / 1.334 GB, free: 13.48 MB / 1.029 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.00273/1.337, allocations: 0.7568 MB / 1.335 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003795/1.341, allocations: 2.086 MB / 1.337 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.341, allocations: 2.812 kB / 1.337 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/1.343, allocations: 1.412 MB / 1.339 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/1.346, allocations: 0.5096 MB / 1.339 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/1.354, allocations: 4.589 MB / 1.344 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/1.356, allocations: 1.537 MB / 1.345 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002579/1.358, allocations: 0.4933 MB / 1.346 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/1.359, allocations: 172.7 kB / 1.346 GB, free: 7.641 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/1.359, allocations: 0 / 1.346 GB, free: 7.641 MB / 1.029 GB Notification: Performance of Templates: time 0.0626/1.422, allocations: 30.64 MB / 1.376 GB, free: 5.25 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches