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.001276/0.001276, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.001225/0.001225, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 482.4 MB / 0.755 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.72 kB / 0.924 GB, free: 29.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3284, allocations: 162.2 MB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1938/0.5223, allocations: 166.1 MB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6547/1.177, allocations: 17.14 MB / 1.261 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/1.179, allocations: 29.34 kB / 1.261 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/1.18, allocations: 493.7 kB / 1.262 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005197/1.186, allocations: 1.625 MB / 1.263 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/1.189, allocations: 1.294 MB / 1.265 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003903/1.193, allocations: 2.86 MB / 1.268 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/1.196, allocations: 1.947 MB / 1.269 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006052/1.202, allocations: 1.416 MB / 1.271 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/1.204, allocations: 1.147 MB / 1.272 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004688/1.204, allocations: 222 kB / 1.272 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/1.208, allocations: 1.558 MB / 1.274 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000888/1.209, allocations: 0.7906 MB / 1.274 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001694/1.211, allocations: 1.229 MB / 1.276 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004071/1.215, allocations: 2.685 MB / 1.278 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.215, allocations: 3.438 kB / 1.278 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/1.215, allocations: 0.7812 kB / 1.278 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.69e-05/1.215, allocations: 0 / 1.278 GB, free: 6.527 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.005578/1.221, allocations: 2.754 MB / 1.281 GB, free: 21.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.221, allocations: 10.89 kB / 1.281 GB, free: 21.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/1.225, allocations: 0.5601 MB / 1.282 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/1.228, allocations: 1.59 MB / 1.283 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.228, allocations: 131.1 kB / 1.283 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/1.228, allocations: 170.4 kB / 1.283 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003529/1.232, allocations: 1.938 MB / 1.285 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/1.232, allocations: 4.062 kB / 1.285 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.232, allocations: 79.88 kB / 1.285 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/1.232, allocations: 40.44 kB / 1.285 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/1.235, allocations: 2.087 MB / 1.287 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009046/1.244, allocations: 6.273 MB / 1.294 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/1.247, allocations: 2.095 MB / 1.296 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/1.249, allocations: 0.76 MB / 1.296 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006566/1.249, allocations: 438.5 kB / 1.297 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/1.251, allocations: 0.9985 MB / 1.298 GB, free: 16.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.737e-06/1.251, allocations: 0 / 1.298 GB, free: 16.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006683/1.258, allocations: 2.947 MB / 1.301 GB, free: 16.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.258, allocations: 200.8 kB / 1.301 GB, free: 16.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/1.26, allocations: 1.785 MB / 1.303 GB, free: 15.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/1.261, allocations: 62.27 kB / 1.303 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/1.261, allocations: 0.827 MB / 1.303 GB, free: 15.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/1.262, allocations: 483.8 kB / 1.304 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004112/1.262, allocations: 263.2 kB / 1.304 GB, free: 15.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.262, allocations: 358.9 kB / 1.304 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/1.263, allocations: 0.5862 MB / 1.305 GB, free: 14.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/1.265, allocations: 0.8039 MB / 1.306 GB, free: 14.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/1.267, allocations: 1.33 MB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.267, allocations: 0 / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00387/1.271, allocations: 1.802 MB / 1.309 GB, free: 14.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.271, allocations: 8.781 kB / 1.309 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.271, allocations: 5.312 kB / 1.309 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.272, allocations: 221.2 kB / 1.309 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.273, allocations: 330.4 kB / 1.309 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/1.28, allocations: 7.327 MB / 1.317 GB, free: 7.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.281, allocations: 181.5 kB / 1.317 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.282, allocations: 58.83 kB / 1.317 GB, free: 7.621 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.001064/1.283, allocations: 492.5 kB / 1.317 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/1.283, allocations: 179 kB / 1.317 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/1.287, allocations: 2.126 MB / 1.32 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.287, allocations: 14.5 kB / 1.32 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.287, allocations: 3.75 kB / 1.32 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.287, allocations: 9.234 kB / 1.32 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/1.293, allocations: 3.976 MB / 1.323 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.293, allocations: 6.844 kB / 1.323 GB, free: 5.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/1.295, allocations: 314.5 kB / 1.324 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000812/1.295, allocations: 214 kB / 1.324 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.296, allocations: 43.27 kB / 1.324 GB, free: 5.703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006351/1.302, allocations: 7.352 MB / 1.331 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.302, allocations: 3.938 kB / 1.331 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/1.306, allocations: 1.982 MB / 1.333 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/1.307, allocations: 472.2 kB / 1.334 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/1.307, allocations: 26.97 kB / 1.334 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.309, allocations: 138.6 kB / 1.334 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/1.309, allocations: 114.8 kB / 1.334 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.309, allocations: 68.38 kB / 1.334 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001652/1.311, allocations: 1.281 MB / 1.335 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.311, allocations: 0 / 1.335 GB, free: 12.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002035/1.313, allocations: 0.6827 MB / 1.336 GB, free: 12.67 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.002396/1.315, allocations: 0.7572 MB / 1.337 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005335/1.321, allocations: 2.52 MB / 1.339 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.321, allocations: 10 kB / 1.339 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/1.323, allocations: 1.411 MB / 1.34 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/1.326, allocations: 0.5431 MB / 1.341 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/1.333, allocations: 4.484 MB / 1.345 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.334, allocations: 1.486 MB / 1.347 GB, free: 7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009948/1.335, allocations: 198.2 kB / 1.347 GB, free: 6.973 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/1.335, allocations: 0 / 1.347 GB, free: 6.973 MB / 1.029 GB Notification: Performance of Templates: time 0.08507/1.42, allocations: 66.91 MB / 1.412 GB, free: 1.227 MB / 1.076 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/jenkins1/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