Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001438/0.001438, allocations: 105.8 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.001341/0.001341, 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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 3.73 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.86/2.86, allocations: 497.2 MB / 0.7812 GB, free: 11.92 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_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9758/0.9778, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1878/1.166, allocations: 155 MB / 1.455 GB, free: 15.43 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01918/1.185, allocations: 10.61 MB / 1.466 GB, free: 7.91 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/1.186, allocations: 20.5 kB / 1.466 GB, free: 7.902 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/1.188, allocations: 296.1 kB / 1.466 GB, free: 7.719 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004311/1.192, allocations: 0.9739 MB / 1.467 GB, free: 7.195 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003678/1.196, allocations: 1.092 MB / 1.468 GB, free: 6.609 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003011/1.199, allocations: 1.722 MB / 1.47 GB, free: 5.742 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/1.201, allocations: 0.9386 MB / 1.471 GB, free: 5.258 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/1.204, allocations: 0.7322 MB / 1.471 GB, free: 4.914 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/1.206, allocations: 0.6273 MB / 1.472 GB, free: 4.586 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007724/1.207, allocations: 133.5 kB / 1.472 GB, free: 4.586 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004725/1.212, allocations: 1.05 MB / 1.473 GB, free: 4.086 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/1.213, allocations: 388 kB / 1.473 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/1.215, allocations: 0.6793 MB / 1.474 GB, free: 3.297 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006847/1.222, allocations: 2.233 MB / 1.476 GB, free: 1.746 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.391e-06/1.222, allocations: 7.938 kB / 1.476 GB, free: 1.738 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.515e-06/1.222, allocations: 0 / 1.476 GB, free: 1.738 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.549e-05/1.222, allocations: 3.984 kB / 1.476 GB, free: 1.734 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00462/1.227, allocations: 1.784 MB / 1.478 GB, free: 356 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.227, allocations: 10.38 kB / 1.478 GB, free: 356 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/1.227, allocations: 149.5 kB / 1.478 GB, free: 232 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/1.229, allocations: 279.1 kB / 1.478 GB, free: 96 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/1.231, allocations: 1.085 MB / 1.48 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.472e-05/1.231, allocations: 77.27 kB / 1.48 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.231, allocations: 95.44 kB / 1.48 GB, free: 15.23 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/1.233, allocations: 1.103 MB / 1.481 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.233, allocations: 1.219 kB / 1.481 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/1.233, allocations: 49.36 kB / 1.481 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/1.233, allocations: 23.78 kB / 1.481 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/1.236, allocations: 1.319 MB / 1.482 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006922/1.243, allocations: 3.533 MB / 1.486 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/1.245, allocations: 1.052 MB / 1.487 GB, free: 10.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008573/1.246, allocations: 392.3 kB / 1.487 GB, free: 10.29 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/1.246, allocations: 141.2 kB / 1.487 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.247, allocations: 0.6183 MB / 1.488 GB, free: 9.781 MB / 1.17 GB Notification: Performance of pre-optimization done (n=95): time 2.986e-06/1.247, allocations: 5.25 kB / 1.488 GB, free: 9.777 MB / 1.17 GB Notification: Performance of matching and sorting (n=95): time 0.004863/1.252, allocations: 1.634 MB / 1.489 GB, free: 8.859 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002072/1.252, allocations: 194.1 kB / 1.49 GB, free: 8.637 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/1.255, allocations: 1.023 MB / 1.491 GB, free: 8.105 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002371/1.255, allocations: 49.69 kB / 1.491 GB, free: 8.051 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/1.255, allocations: 473.2 kB / 1.491 GB, free: 7.582 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/1.256, allocations: 333.2 kB / 1.491 GB, free: 7.254 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/1.256, allocations: 166.6 kB / 1.491 GB, free: 7.086 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.256, allocations: 341.9 kB / 1.492 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/1.257, allocations: 333.8 kB / 1.492 GB, free: 6.418 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/1.258, allocations: 473 kB / 1.493 GB, free: 5.922 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.26, allocations: 0.7725 MB / 1.493 GB, free: 5.141 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.26, allocations: 0 / 1.493 GB, free: 5.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00281/1.262, allocations: 1.041 MB / 1.494 GB, free: 4.082 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.262, allocations: 6.031 kB / 1.494 GB, free: 4.078 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.262, allocations: 0 / 1.494 GB, free: 4.078 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007592/1.263, allocations: 113.7 kB / 1.494 GB, free: 3.961 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009335/1.264, allocations: 203.7 kB / 1.495 GB, free: 3.762 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/1.268, allocations: 3.053 MB / 1.498 GB, free: 432 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.269, allocations: 115.4 kB / 1.498 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.27, allocations: 40.12 kB / 1.498 GB, free: 276 kB / 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007167/1.27, allocations: 313.8 kB / 1.498 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/1.271, allocations: 103.3 kB / 1.498 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/1.274, allocations: 1.322 MB / 1.499 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.274, allocations: 12 kB / 1.499 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.274, allocations: 0 / 1.499 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.274, allocations: 3.984 kB / 1.499 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004982/1.279, allocations: 2.451 MB / 1.502 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.279, allocations: 0 / 1.502 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/1.28, allocations: 191.7 kB / 1.502 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/1.28, allocations: 109.6 kB / 1.502 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/1.281, allocations: 23.98 kB / 1.502 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/1.284, allocations: 3.097 MB / 1.505 GB, free: 8.273 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.284, allocations: 0 / 1.505 GB, free: 8.273 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/1.287, allocations: 1.241 MB / 1.506 GB, free: 7.012 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/1.288, allocations: 328 kB / 1.507 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/1.288, allocations: 20 kB / 1.507 GB, free: 6.652 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008516/1.289, allocations: 71.92 kB / 1.507 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/1.289, allocations: 88.75 kB / 1.507 GB, free: 6.492 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.289, allocations: 51.91 kB / 1.507 GB, free: 6.441 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001041/1.29, allocations: 0.7489 MB / 1.508 GB, free: 5.695 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/1.29, allocations: 0 / 1.508 GB, free: 5.695 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001482/1.292, allocations: 454.9 kB / 1.508 GB, free: 5.25 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.005529/1.297, allocations: 2.405 MB / 1.51 GB, free: 3.016 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002648/1.3, allocations: 1.076 MB / 1.512 GB, free: 1.914 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.3, allocations: 0 / 1.512 GB, free: 1.914 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.301, allocations: 0.7098 MB / 1.512 GB, free: 1.184 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.303, allocations: 349.2 kB / 1.513 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.32, allocations: 8.369 MB / 1.521 GB, free: 8.344 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008844/1.321, allocations: 1.116 MB / 1.522 GB, free: 7.199 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001246/1.322, allocations: 315.9 kB / 1.522 GB, free: 6.887 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008727/1.323, allocations: 463.2 kB / 1.523 GB, free: 6.434 MB / 1.201 GB Notification: Performance of SimCode: time 1.363e-06/1.323, allocations: 4 kB / 1.523 GB, free: 6.43 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07884/1.402, allocations: 28.41 MB / 1.55 GB, free: 10.35 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.92, allocations: 8.062 kB / 1.55 GB, free: 10.34 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.2952639083378]