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.007479/0.007479, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001732/0.001733, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 472.6 MB / 0.7453 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3116, allocations: 159.9 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.93/1.242, allocations: 168.4 MB / 1.39 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02407/1.266, allocations: 17.34 MB / 1.407 GB, free: 13.77 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/1.268, allocations: 31.19 kB / 1.407 GB, free: 13.76 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/1.27, allocations: 0.564 MB / 1.408 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006568/1.277, allocations: 1.782 MB / 1.409 GB, free: 11.95 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004883/1.282, allocations: 1.445 MB / 1.411 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005109/1.287, allocations: 2.852 MB / 1.414 GB, free: 9.16 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/1.291, allocations: 1.947 MB / 1.415 GB, free: 7.867 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/1.296, allocations: 1.41 MB / 1.417 GB, free: 7.098 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/1.298, allocations: 1.128 MB / 1.418 GB, free: 6.34 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/1.3, allocations: 219 kB / 1.418 GB, free: 6.34 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004892/1.304, allocations: 1.55 MB / 1.42 GB, free: 5.605 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00131/1.306, allocations: 0.7902 MB / 1.42 GB, free: 5.047 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002775/1.309, allocations: 1.222 MB / 1.422 GB, free: 4.191 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007095/1.316, allocations: 3.614 MB / 1.425 GB, free: 1.703 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.316, allocations: 0 / 1.425 GB, free: 1.703 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.643e-06/1.316, allocations: 0 / 1.425 GB, free: 1.703 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001675/1.316, allocations: 0 / 1.425 GB, free: 1.703 MB / 1.107 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.006483/1.322, allocations: 2.83 MB / 1.428 GB, free: 15.24 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/1.322, allocations: 11.97 kB / 1.428 GB, free: 15.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/1.326, allocations: 0.5643 MB / 1.428 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/1.329, allocations: 1.647 MB / 1.43 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.33, allocations: 127.4 kB / 1.43 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/1.33, allocations: 168 kB / 1.43 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/1.334, allocations: 1.945 MB / 1.432 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/1.334, allocations: 0.8125 kB / 1.432 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/1.334, allocations: 76 kB / 1.432 GB, free: 10.61 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/1.334, allocations: 43.98 kB / 1.432 GB, free: 10.56 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003668/1.338, allocations: 2.085 MB / 1.434 GB, free: 8.473 MB / 1.123 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.009771/1.347, allocations: 6.047 MB / 1.44 GB, free: 2.082 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/1.351, allocations: 2.085 MB / 1.442 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/1.352, allocations: 0.7764 MB / 1.443 GB, free: 15.15 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006408/1.353, allocations: 425.6 kB / 1.444 GB, free: 14.66 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/1.355, allocations: 1.005 MB / 1.444 GB, free: 13.64 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.366e-06/1.355, allocations: 0 / 1.444 GB, free: 13.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.006884/1.362, allocations: 2.962 MB / 1.447 GB, free: 10.56 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.362, allocations: 201.2 kB / 1.448 GB, free: 10.32 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/1.365, allocations: 1.784 MB / 1.449 GB, free: 8.527 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002551/1.365, allocations: 57.7 kB / 1.449 GB, free: 8.465 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008106/1.366, allocations: 0.8441 MB / 1.45 GB, free: 7.609 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/1.366, allocations: 0.4996 MB / 1.451 GB, free: 7.105 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/1.367, allocations: 258.7 kB / 1.451 GB, free: 6.844 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.367, allocations: 357.9 kB / 1.451 GB, free: 6.488 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/1.368, allocations: 0.5882 MB / 1.452 GB, free: 5.902 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/1.37, allocations: 0.8074 MB / 1.453 GB, free: 5.043 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/1.372, allocations: 1.329 MB / 1.454 GB, free: 3.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.372, allocations: 4 kB / 1.454 GB, free: 3.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00398/1.376, allocations: 1.816 MB / 1.456 GB, free: 1.863 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.376, allocations: 4 kB / 1.456 GB, free: 1.859 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.376, allocations: 3.938 kB / 1.456 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.377, allocations: 216.2 kB / 1.456 GB, free: 1.629 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/1.379, allocations: 335.5 kB / 1.456 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/1.384, allocations: 7.323 MB / 1.463 GB, free: 9.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.386, allocations: 159.2 kB / 1.464 GB, free: 9.113 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.386, allocations: 63.95 kB / 1.464 GB, free: 9.051 MB / 1.154 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.001044/1.387, allocations: 479.2 kB / 1.464 GB, free: 8.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/1.388, allocations: 186.8 kB / 1.464 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/1.392, allocations: 2.132 MB / 1.466 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.392, allocations: 23.97 kB / 1.466 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.392, allocations: 4 kB / 1.466 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.392, allocations: 11.97 kB / 1.466 GB, free: 6.184 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/1.399, allocations: 3.973 MB / 1.47 GB, free: 2.133 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.399, allocations: 3.984 kB / 1.47 GB, free: 2.129 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.4, allocations: 319.5 kB / 1.471 GB, free: 1.816 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000868/1.401, allocations: 204.1 kB / 1.471 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.401, allocations: 43.95 kB / 1.471 GB, free: 1.559 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/1.407, allocations: 7.348 MB / 1.478 GB, free: 9.5 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.407, allocations: 0 / 1.478 GB, free: 9.5 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/1.411, allocations: 1.997 MB / 1.48 GB, free: 7.469 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/1.412, allocations: 479.3 kB / 1.48 GB, free: 6.98 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/1.412, allocations: 35.98 kB / 1.48 GB, free: 6.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.414, allocations: 93.41 kB / 1.48 GB, free: 6.855 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/1.414, allocations: 121.1 kB / 1.481 GB, free: 6.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.414, allocations: 75.95 kB / 1.481 GB, free: 6.66 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001837/1.416, allocations: 1.277 MB / 1.482 GB, free: 5.387 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/1.416, allocations: 0 / 1.482 GB, free: 5.387 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001851/1.418, allocations: 0.6937 MB / 1.483 GB, free: 4.691 MB / 1.17 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.001804/1.42, allocations: 0.7479 MB / 1.483 GB, free: 4.125 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00339/1.423, allocations: 2.082 MB / 1.485 GB, free: 1.977 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.423, allocations: 0.5625 kB / 1.485 GB, free: 1.977 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/1.425, allocations: 1.418 MB / 1.487 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.428, allocations: 0.5597 MB / 1.487 GB, free: 15.96 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/1.434, allocations: 3.761 MB / 1.491 GB, free: 12.17 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.436, allocations: 1.533 MB / 1.492 GB, free: 10.6 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001842/1.437, allocations: 0.4969 MB / 1.493 GB, free: 10.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/1.438, allocations: 175.3 kB / 1.493 GB, free: 9.922 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/1.438, allocations: 0 / 1.493 GB, free: 9.922 MB / 1.186 GB Notification: Performance of Templates: time 0.05523/1.493, allocations: 32.14 MB / 1.525 GB, free: 10.1 MB / 1.217 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=480 -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