Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001585, allocations: 106.2 kB / 15.99 MB, free: 6.352 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.001471/0.001471, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 482.2 MB / 0.7548 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 61.03 kB / 0.9238 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8608, allocations: 162.2 MB / 1.082 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2326/1.093, allocations: 173.8 MB / 1.252 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02465/1.118, allocations: 15.49 MB / 1.267 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/1.12, allocations: 31.81 kB / 1.267 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00232/1.123, allocations: 0.5204 MB / 1.268 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00559/1.128, allocations: 1.434 MB / 1.269 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004926/1.133, allocations: 1.527 MB / 1.27 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004671/1.138, allocations: 2.894 MB / 1.273 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/1.141, allocations: 1.832 MB / 1.275 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006688/1.148, allocations: 1.596 MB / 1.277 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/1.15, allocations: 1.07 MB / 1.278 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000564/1.151, allocations: 200 kB / 1.278 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/1.154, allocations: 1.341 MB / 1.279 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006757/1.154, allocations: 0.5686 MB / 1.28 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/1.156, allocations: 1.034 MB / 1.281 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003386/1.159, allocations: 2.249 MB / 1.283 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.159, allocations: 4 kB / 1.283 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.336e-06/1.159, allocations: 0 / 1.283 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.862e-05/1.159, allocations: 3.938 kB / 1.283 GB, free: 1.074 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004511/1.164, allocations: 2.302 MB / 1.285 GB, free: 14.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.164, allocations: 12.03 kB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/1.167, allocations: 473 kB / 1.286 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/1.169, allocations: 1.089 MB / 1.287 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/1.17, allocations: 119.2 kB / 1.287 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/1.17, allocations: 156 kB / 1.287 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/1.173, allocations: 1.792 MB / 1.289 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/1.173, allocations: 3.938 kB / 1.289 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/1.174, allocations: 71.98 kB / 1.289 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/1.174, allocations: 44 kB / 1.289 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/1.177, allocations: 1.776 MB / 1.291 GB, free: 9.059 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00963/1.187, allocations: 6.319 MB / 1.297 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/1.189, allocations: 1.552 MB / 1.298 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/1.191, allocations: 0.5621 MB / 1.299 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.192, allocations: 0.8906 MB / 1.3 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.193, allocations: 0.8028 MB / 1.3 GB, free: 14.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 3.476e-06/1.193, allocations: 4 kB / 1.3 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.005072/1.198, allocations: 1.883 MB / 1.302 GB, free: 12.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.198, allocations: 196.9 kB / 1.303 GB, free: 12.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/1.2, allocations: 0.9833 MB / 1.303 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/1.2, allocations: 53.7 kB / 1.304 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006235/1.201, allocations: 0.6527 MB / 1.304 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004368/1.201, allocations: 425.9 kB / 1.305 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/1.202, allocations: 230.8 kB / 1.305 GB, free: 9.742 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.202, allocations: 353.9 kB / 1.305 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000959/1.203, allocations: 446.4 kB / 1.306 GB, free: 8.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.204, allocations: 0.5942 MB / 1.306 GB, free: 8.324 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/1.206, allocations: 1.038 MB / 1.307 GB, free: 7.262 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.206, allocations: 0 / 1.307 GB, free: 7.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003285/1.209, allocations: 1.359 MB / 1.308 GB, free: 5.891 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.209, allocations: 4 kB / 1.308 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.209, allocations: 7.938 kB / 1.308 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/1.21, allocations: 80.94 kB / 1.309 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.211, allocations: 295.6 kB / 1.309 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.214, allocations: 1.663 MB / 1.31 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.215, allocations: 166.8 kB / 1.311 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.215, allocations: 55.95 kB / 1.311 GB, free: 3.484 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008151/1.216, allocations: 377.5 kB / 1.311 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/1.217, allocations: 138.4 kB / 1.311 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/1.22, allocations: 1.621 MB / 1.313 GB, free: 1.332 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.22, allocations: 12 kB / 1.313 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.22, allocations: 0 / 1.313 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.22, allocations: 3.984 kB / 1.313 GB, free: 1.316 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/1.226, allocations: 3.165 MB / 1.316 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.227, allocations: 0 / 1.316 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/1.228, allocations: 275.6 kB / 1.316 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/1.228, allocations: 68.8 kB / 1.316 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.228, allocations: 39.97 kB / 1.316 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/1.231, allocations: 1.681 MB / 1.318 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.231, allocations: 0 / 1.318 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/1.235, allocations: 2.177 MB / 1.32 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008743/1.236, allocations: 402.9 kB / 1.32 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/1.237, allocations: 31.94 kB / 1.32 GB, free: 9.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.238, allocations: 115.8 kB / 1.321 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/1.238, allocations: 101.2 kB / 1.321 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.238, allocations: 55.95 kB / 1.321 GB, free: 8.973 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001167/1.239, allocations: 0.6839 MB / 1.321 GB, free: 8.281 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.71e-07/1.239, allocations: 0 / 1.321 GB, free: 8.281 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001587/1.241, allocations: 0.5532 MB / 1.322 GB, free: 7.727 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/1.243, allocations: 0.7123 MB / 1.323 GB, free: 7.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004672/1.248, allocations: 1.697 MB / 1.324 GB, free: 5.488 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.248, allocations: 4.438 kB / 1.324 GB, free: 5.484 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/1.25, allocations: 0.7596 MB / 1.325 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.253, allocations: 0.5722 MB / 1.326 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/1.26, allocations: 3.636 MB / 1.329 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.261, allocations: 1.299 MB / 1.33 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/1.262, allocations: 183.3 kB / 1.331 GB, free: 14.98 MB / 1.061 GB Notification: Performance of SimCode: time 7.61e-07/1.262, allocations: 0 / 1.331 GB, free: 14.98 MB / 1.061 GB Notification: Performance of Templates: time 0.04879/1.311, allocations: 31.84 MB / 1.362 GB, free: 15.28 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches