Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.882/2.882, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8498, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.202/1.052, allocations: 179.7 MB / 1.497 GB, free: 3.566 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02165/1.073, allocations: 15.83 MB / 1.512 GB, free: 5.773 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/1.075, allocations: 39.69 kB / 1.512 GB, free: 5.734 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/1.077, allocations: 0.644 MB / 1.513 GB, free: 5.086 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/1.082, allocations: 1.612 MB / 1.515 GB, free: 3.469 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004783/1.086, allocations: 1.708 MB / 1.516 GB, free: 1.77 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004115/1.09, allocations: 2.929 MB / 1.519 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/1.093, allocations: 1.532 MB / 1.521 GB, free: 13.24 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/1.097, allocations: 1.657 MB / 1.522 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/1.099, allocations: 1.072 MB / 1.523 GB, free: 10.54 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/1.099, allocations: 200 kB / 1.524 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/1.102, allocations: 1.412 MB / 1.525 GB, free: 8.93 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000558/1.102, allocations: 0.5802 MB / 1.526 GB, free: 8.348 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.104, allocations: 1.042 MB / 1.527 GB, free: 7.301 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/1.108, allocations: 3.075 MB / 1.53 GB, free: 4.215 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.108, allocations: 0 / 1.53 GB, free: 4.215 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/1.108, allocations: 0 / 1.53 GB, free: 4.215 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.971e-05/1.108, allocations: 0 / 1.53 GB, free: 4.215 MB / 1.201 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.004889/1.113, allocations: 2.396 MB / 1.532 GB, free: 1.75 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.113, allocations: 11.98 kB / 1.532 GB, free: 1.738 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.198e-05/1.113, allocations: 43.2 kB / 1.532 GB, free: 1.695 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003118/1.114, allocations: 240.3 kB / 1.532 GB, free: 1.449 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/1.117, allocations: 0.5255 MB / 1.533 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/1.119, allocations: 1.157 MB / 1.534 GB, free: 15.7 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/1.119, allocations: 115.2 kB / 1.534 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/1.12, allocations: 160 kB / 1.534 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/1.123, allocations: 1.786 MB / 1.536 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/1.123, allocations: 7.938 kB / 1.536 GB, free: 13.56 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/1.123, allocations: 71.91 kB / 1.536 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.573e-05/1.123, allocations: 51.92 kB / 1.536 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/1.126, allocations: 1.776 MB / 1.538 GB, free: 11.66 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009459/1.136, allocations: 6.317 MB / 1.544 GB, free: 4.945 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/1.139, allocations: 1.485 MB / 1.545 GB, free: 3.402 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/1.14, allocations: 0.5167 MB / 1.546 GB, free: 2.883 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.141, allocations: 0.8867 MB / 1.547 GB, free: 1.812 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/1.143, allocations: 0.7972 MB / 1.547 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of pre-optimization done (n=126): time 2.635e-06/1.143, allocations: 0 / 1.547 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of matching and sorting (n=126): time 0.005226/1.148, allocations: 1.895 MB / 1.549 GB, free: 15.07 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.148, allocations: 196.9 kB / 1.549 GB, free: 14.84 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/1.15, allocations: 1.016 MB / 1.55 GB, free: 13.81 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/1.15, allocations: 49.7 kB / 1.55 GB, free: 13.75 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/1.15, allocations: 0.6738 MB / 1.551 GB, free: 13.07 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/1.151, allocations: 440.2 kB / 1.552 GB, free: 12.64 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/1.151, allocations: 210.9 kB / 1.552 GB, free: 12.43 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.151, allocations: 353.9 kB / 1.552 GB, free: 12.07 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009762/1.152, allocations: 426.4 kB / 1.553 GB, free: 11.66 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/1.154, allocations: 0.5998 MB / 1.553 GB, free: 11.01 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/1.156, allocations: 1.015 MB / 1.554 GB, free: 9.973 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.156, allocations: 0 / 1.554 GB, free: 9.973 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003337/1.159, allocations: 1.317 MB / 1.555 GB, free: 8.645 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.159, allocations: 8 kB / 1.555 GB, free: 8.637 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.159, allocations: 0 / 1.555 GB, free: 8.637 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/1.16, allocations: 88.92 kB / 1.555 GB, free: 8.547 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.161, allocations: 275.6 kB / 1.556 GB, free: 8.277 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/1.164, allocations: 1.65 MB / 1.557 GB, free: 6.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.165, allocations: 147.2 kB / 1.557 GB, free: 6.336 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.165, allocations: 43.97 kB / 1.558 GB, free: 6.293 MB / 1.232 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.0008224/1.166, allocations: 377.5 kB / 1.558 GB, free: 5.914 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/1.166, allocations: 147 kB / 1.558 GB, free: 5.77 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/1.17, allocations: 1.606 MB / 1.56 GB, free: 4.148 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.17, allocations: 16 kB / 1.56 GB, free: 4.133 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.17, allocations: 0 / 1.56 GB, free: 4.133 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/1.17, allocations: 7.969 kB / 1.56 GB, free: 4.125 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005883/1.176, allocations: 3.194 MB / 1.563 GB, free: 0.8672 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.176, allocations: 3.938 kB / 1.563 GB, free: 0.8633 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.177, allocations: 263.7 kB / 1.563 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/1.178, allocations: 76.78 kB / 1.563 GB, free: 0.5273 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/1.178, allocations: 39.97 kB / 1.563 GB, free: 500 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/1.18, allocations: 1.666 MB / 1.565 GB, free: 14.68 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.18, allocations: 3.938 kB / 1.565 GB, free: 14.68 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/1.185, allocations: 2.183 MB / 1.567 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008798/1.186, allocations: 411.6 kB / 1.567 GB, free: 12.05 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/1.186, allocations: 32.06 kB / 1.567 GB, free: 12.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.187, allocations: 87.97 kB / 1.567 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/1.187, allocations: 93.19 kB / 1.567 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.187, allocations: 59.95 kB / 1.568 GB, free: 11.78 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001098/1.189, allocations: 0.7041 MB / 1.568 GB, free: 11.07 MB / 1.248 GB Notification: Performance of sort global known variables: time 7.1e-08/1.189, allocations: 0 / 1.568 GB, free: 11.07 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001504/1.19, allocations: 0.5532 MB / 1.569 GB, free: 10.52 MB / 1.248 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.006895/1.197, allocations: 3.345 MB / 1.572 GB, free: 7.328 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002751/1.2, allocations: 1.209 MB / 1.573 GB, free: 6.105 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.2, allocations: 8.375 kB / 1.573 GB, free: 6.098 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.201, allocations: 0.7167 MB / 1.574 GB, free: 5.371 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.204, allocations: 0.5645 MB / 1.574 GB, free: 4.824 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.223, allocations: 10.15 MB / 1.584 GB, free: 10.48 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.224, allocations: 1.312 MB / 1.586 GB, free: 9.145 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001822/1.226, allocations: 438.9 kB / 1.586 GB, free: 8.711 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.227, allocations: 0.6711 MB / 1.587 GB, free: 8.039 MB / 1.264 GB Notification: Performance of SimCode: time 9.72e-07/1.227, allocations: 0 / 1.587 GB, free: 8.039 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08391/1.311, allocations: 37.91 MB / 1.624 GB, free: 2.508 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.92, allocations: 5.312 kB / 1.624 GB, free: 2.504 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.562327937979717]