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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 104.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 497.2 MB / 0.7812 GB, free: 12.15 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 1.134 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9071, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2352/1.142, allocations: 176.8 MB / 1.477 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02609/1.168, allocations: 15.75 MB / 1.492 GB, free: 3.262 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/1.171, allocations: 27.69 kB / 1.492 GB, free: 3.254 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/1.173, allocations: 0.6387 MB / 1.493 GB, free: 2.719 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006006/1.179, allocations: 1.61 MB / 1.494 GB, free: 1.484 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005476/1.185, allocations: 1.686 MB / 1.496 GB, free: 224 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005399/1.19, allocations: 2.905 MB / 1.499 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/1.193, allocations: 1.516 MB / 1.5 GB, free: 13.38 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005958/1.199, allocations: 1.626 MB / 1.502 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/1.202, allocations: 1.065 MB / 1.503 GB, free: 11.73 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006579/1.202, allocations: 197.9 kB / 1.503 GB, free: 11.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/1.206, allocations: 1.371 MB / 1.504 GB, free: 10.4 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008976/1.207, allocations: 0.5763 MB / 1.505 GB, free: 9.824 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002052/1.209, allocations: 1.034 MB / 1.506 GB, free: 8.785 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00688/1.216, allocations: 3.032 MB / 1.509 GB, free: 5.742 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.216, allocations: 0 / 1.509 GB, free: 5.742 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.384e-06/1.216, allocations: 0 / 1.509 GB, free: 5.742 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.42e-05/1.216, allocations: 4 kB / 1.509 GB, free: 5.738 MB / 1.186 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.005411/1.222, allocations: 2.369 MB / 1.511 GB, free: 3.301 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.222, allocations: 8.031 kB / 1.511 GB, free: 3.293 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003063/1.222, allocations: 240.3 kB / 1.511 GB, free: 3.047 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/1.225, allocations: 474.3 kB / 1.512 GB, free: 2.582 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/1.228, allocations: 1.152 MB / 1.513 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/1.228, allocations: 123.2 kB / 1.513 GB, free: 1.262 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/1.228, allocations: 160 kB / 1.513 GB, free: 1.105 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/1.232, allocations: 1.78 MB / 1.515 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/1.232, allocations: 0 / 1.515 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/1.232, allocations: 68 kB / 1.515 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/1.232, allocations: 51.98 kB / 1.515 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/1.236, allocations: 1.776 MB / 1.517 GB, free: 13.35 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/1.246, allocations: 6.308 MB / 1.523 GB, free: 6.641 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/1.249, allocations: 1.477 MB / 1.524 GB, free: 5.109 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.25, allocations: 0.5191 MB / 1.525 GB, free: 4.586 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.251, allocations: 0.8828 MB / 1.526 GB, free: 3.52 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/1.252, allocations: 0.8066 MB / 1.527 GB, free: 2.695 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 3.206e-06/1.252, allocations: 0 / 1.527 GB, free: 2.695 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.005005/1.257, allocations: 1.891 MB / 1.528 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.258, allocations: 200.9 kB / 1.529 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.259, allocations: 0.9837 MB / 1.53 GB, free: 15.54 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/1.259, allocations: 49.7 kB / 1.53 GB, free: 15.48 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/1.26, allocations: 0.6736 MB / 1.53 GB, free: 14.8 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/1.26, allocations: 444.2 kB / 1.531 GB, free: 14.36 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/1.261, allocations: 214.9 kB / 1.531 GB, free: 14.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.261, allocations: 349.9 kB / 1.531 GB, free: 13.8 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/1.262, allocations: 430.4 kB / 1.532 GB, free: 13.38 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.263, allocations: 0.5936 MB / 1.532 GB, free: 12.73 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/1.265, allocations: 1.011 MB / 1.533 GB, free: 11.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.265, allocations: 0 / 1.533 GB, free: 11.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003207/1.268, allocations: 1.305 MB / 1.535 GB, free: 10.38 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.268, allocations: 8.156 kB / 1.535 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.268, allocations: 4 kB / 1.535 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/1.269, allocations: 84.7 kB / 1.535 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.27, allocations: 283.6 kB / 1.535 GB, free: 10.01 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/1.272, allocations: 1.648 MB / 1.536 GB, free: 8.219 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.274, allocations: 135.1 kB / 1.537 GB, free: 8.086 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.274, allocations: 51.91 kB / 1.537 GB, free: 8.035 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * 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.0008189/1.275, allocations: 377.6 kB / 1.537 GB, free: 7.656 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/1.275, allocations: 147 kB / 1.537 GB, free: 7.512 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/1.279, allocations: 1.61 MB / 1.539 GB, free: 5.891 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.279, allocations: 12 kB / 1.539 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.279, allocations: 0 / 1.539 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.279, allocations: 7.969 kB / 1.539 GB, free: 5.871 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/1.285, allocations: 3.171 MB / 1.542 GB, free: 2.637 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.285, allocations: 3.938 kB / 1.542 GB, free: 2.633 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.286, allocations: 267.7 kB / 1.542 GB, free: 2.371 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/1.286, allocations: 80.78 kB / 1.542 GB, free: 2.289 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/1.287, allocations: 31.97 kB / 1.542 GB, free: 2.258 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/1.289, allocations: 1.674 MB / 1.544 GB, free: 452 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.289, allocations: 0 / 1.544 GB, free: 452 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/1.293, allocations: 2.187 MB / 1.546 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.294, allocations: 407.5 kB / 1.546 GB, free: 13.81 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.294, allocations: 27.98 kB / 1.546 GB, free: 13.78 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.296, allocations: 92.17 kB / 1.547 GB, free: 13.69 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.296, allocations: 97.17 kB / 1.547 GB, free: 13.6 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.296, allocations: 59.95 kB / 1.547 GB, free: 13.54 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001053/1.297, allocations: 0.688 MB / 1.547 GB, free: 12.84 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.297, allocations: 0 / 1.547 GB, free: 12.84 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001609/1.299, allocations: 0.5455 MB / 1.548 GB, free: 12.3 MB / 1.232 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.007051/1.306, allocations: 3.359 MB / 1.551 GB, free: 9.117 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.308, allocations: 1.205 MB / 1.552 GB, free: 7.898 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/1.308, allocations: 448 / 1.552 GB, free: 7.898 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.31, allocations: 0.7128 MB / 1.553 GB, free: 7.176 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/1.312, allocations: 0.572 MB / 1.554 GB, free: 6.617 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.331, allocations: 10.07 MB / 1.563 GB, free: 12.36 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.332, allocations: 1.312 MB / 1.565 GB, free: 11.02 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001632/1.334, allocations: 434.8 kB / 1.565 GB, free: 10.59 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009829/1.335, allocations: 0.6671 MB / 1.566 GB, free: 9.926 MB / 1.248 GB Notification: Performance of SimCode: time 1.001e-06/1.335, allocations: 0 / 1.566 GB, free: 9.926 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09226/1.427, allocations: 37.59 MB / 1.602 GB, free: 4.75 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.35, allocations: 10.41 kB / 1.602 GB, free: 4.742 MB / 1.279 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.81268813321367]