Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006009/0.006009, allocations: 103.4 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.001084/0.001084, allocations: 189.3 kB / 16.67 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 68.12 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8835, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1706/1.054, allocations: 168.3 MB / 1.372 GB, free: 4.582 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02282/1.077, allocations: 17.07 MB / 1.388 GB, free: 3.461 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/1.079, allocations: 27.81 kB / 1.388 GB, free: 3.434 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/1.081, allocations: 0.5545 MB / 1.389 GB, free: 2.875 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/1.086, allocations: 1.612 MB / 1.39 GB, free: 1.262 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/1.09, allocations: 1.321 MB / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003527/1.093, allocations: 2.703 MB / 1.394 GB, free: 13.24 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/1.097, allocations: 1.89 MB / 1.396 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/1.101, allocations: 1.352 MB / 1.398 GB, free: 9.984 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/1.102, allocations: 0.992 MB / 1.398 GB, free: 8.988 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006073/1.103, allocations: 208 kB / 1.399 GB, free: 8.785 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/1.106, allocations: 1.423 MB / 1.4 GB, free: 7.359 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007352/1.106, allocations: 0.5569 MB / 1.401 GB, free: 6.801 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/1.108, allocations: 1.038 MB / 1.402 GB, free: 5.758 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005628/1.114, allocations: 3.115 MB / 1.405 GB, free: 2.633 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.114, allocations: 0 / 1.405 GB, free: 2.633 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.336e-06/1.114, allocations: 4 kB / 1.405 GB, free: 2.629 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001181/1.114, allocations: 0 / 1.405 GB, free: 2.629 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005308/1.119, allocations: 2.283 MB / 1.407 GB, free: 288 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.12, allocations: 8.031 kB / 1.407 GB, free: 280 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004428/1.12, allocations: 257 kB / 1.407 GB, free: 12 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/1.124, allocations: 0.5088 MB / 1.408 GB, free: 15.5 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/1.126, allocations: 1.113 MB / 1.409 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.126, allocations: 127.4 kB / 1.409 GB, free: 14.22 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/1.126, allocations: 168 kB / 1.409 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003805/1.13, allocations: 1.839 MB / 1.411 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/1.13, allocations: 0 / 1.411 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/1.131, allocations: 83.92 kB / 1.411 GB, free: 12.08 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/1.131, allocations: 44 kB / 1.411 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/1.134, allocations: 1.871 MB / 1.413 GB, free: 10.16 MB / 1.139 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.008719/1.143, allocations: 5.515 MB / 1.418 GB, free: 4.312 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/1.146, allocations: 1.759 MB / 1.42 GB, free: 2.48 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/1.147, allocations: 0.6481 MB / 1.42 GB, free: 1.832 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008748/1.148, allocations: 0.8078 MB / 1.421 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/1.15, allocations: 0.888 MB / 1.422 GB, free: 15.95 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 4.057e-06/1.15, allocations: 0 / 1.422 GB, free: 15.95 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006524/1.157, allocations: 2.56 MB / 1.425 GB, free: 13.28 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.157, allocations: 205.1 kB / 1.425 GB, free: 13.04 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.158, allocations: 0.8271 MB / 1.426 GB, free: 12.18 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002179/1.158, allocations: 61.69 kB / 1.426 GB, free: 12.12 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/1.159, allocations: 0.6523 MB / 1.426 GB, free: 11.45 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/1.16, allocations: 477 kB / 1.427 GB, free: 10.98 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/1.16, allocations: 238.8 kB / 1.427 GB, free: 10.74 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.16, allocations: 357.9 kB / 1.427 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/1.161, allocations: 470.4 kB / 1.428 GB, free: 9.926 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/1.163, allocations: 0.638 MB / 1.428 GB, free: 9.246 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/1.165, allocations: 1.099 MB / 1.43 GB, free: 8.137 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.165, allocations: 0 / 1.43 GB, free: 8.137 MB / 1.154 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00361/1.168, allocations: 1.495 MB / 1.431 GB, free: 6.617 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.168, allocations: 11.98 kB / 1.431 GB, free: 6.605 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.169, allocations: 0 / 1.431 GB, free: 6.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/1.169, allocations: 196.2 kB / 1.431 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.171, allocations: 335.5 kB / 1.432 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005931/1.177, allocations: 7.279 MB / 1.439 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.178, allocations: 144.8 kB / 1.439 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/1.179, allocations: 51.95 kB / 1.439 GB, free: 13.89 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (148): * 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: 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.0008943/1.18, allocations: 377.6 kB / 1.439 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/1.18, allocations: 126.5 kB / 1.439 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/1.185, allocations: 1.847 MB / 1.441 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/1.185, allocations: 16 kB / 1.441 GB, free: 11.5 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.185, allocations: 0 / 1.441 GB, free: 11.5 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/1.185, allocations: 11.97 kB / 1.441 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007044/1.192, allocations: 3.436 MB / 1.444 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.192, allocations: 0 / 1.444 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.193, allocations: 319.5 kB / 1.445 GB, free: 7.664 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008928/1.194, allocations: 184.2 kB / 1.445 GB, free: 7.469 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/1.194, allocations: 39.97 kB / 1.445 GB, free: 7.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/1.201, allocations: 7.319 MB / 1.452 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.201, allocations: 3.938 kB / 1.452 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/1.205, allocations: 1.713 MB / 1.454 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000953/1.206, allocations: 395 kB / 1.454 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/1.206, allocations: 35.94 kB / 1.454 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.208, allocations: 99.89 kB / 1.454 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/1.208, allocations: 109.2 kB / 1.454 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/1.208, allocations: 67.95 kB / 1.454 GB, free: 12.93 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001028/1.209, allocations: 0.5825 MB / 1.455 GB, free: 12.34 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.209, allocations: 0 / 1.455 GB, free: 12.34 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001937/1.211, allocations: 0.6 MB / 1.456 GB, free: 11.73 MB / 1.186 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.005638/1.217, allocations: 2.907 MB / 1.458 GB, free: 8.977 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003585/1.22, allocations: 1.84 MB / 1.46 GB, free: 7.074 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.22, allocations: 0.5625 kB / 1.46 GB, free: 7.074 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.223, allocations: 1.297 MB / 1.462 GB, free: 5.711 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/1.225, allocations: 0.5219 MB / 1.462 GB, free: 5.207 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.244, allocations: 9.918 MB / 1.472 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/1.245, allocations: 1.305 MB / 1.473 GB, free: 9.785 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001763/1.247, allocations: 430.4 kB / 1.473 GB, free: 9.359 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.248, allocations: 0.6476 MB / 1.474 GB, free: 8.711 MB / 1.201 GB Notification: Performance of SimCode: time 1.603e-06/1.248, allocations: 0 / 1.474 GB, free: 8.711 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07635/1.325, allocations: 38.27 MB / 1.511 GB, free: 2.895 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.29, allocations: 10.52 kB / 1.511 GB, free: 2.887 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches