Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001642/0.001642, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002158/0.002158, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 7.992 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.94/2.94, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",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.001845/0.001845, allocations: 68.83 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2802, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1811/0.4612, allocations: 172.1 MB / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.4838, allocations: 17.74 MB / 1.511 GB, free: 3.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.4851, allocations: 39.62 kB / 1.511 GB, free: 3.371 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.4869, allocations: 0.5973 MB / 1.512 GB, free: 2.77 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.4918, allocations: 1.847 MB / 1.514 GB, free: 0.918 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.4953, allocations: 1.496 MB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.4989, allocations: 2.898 MB / 1.518 GB, free: 12.52 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.5012, allocations: 1.598 MB / 1.52 GB, free: 10.87 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.5053, allocations: 1.514 MB / 1.521 GB, free: 9.398 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.507, allocations: 1.152 MB / 1.522 GB, free: 8.242 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004488/0.5074, allocations: 224 kB / 1.522 GB, free: 8.023 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.5106, allocations: 1.669 MB / 1.524 GB, free: 6.352 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008398/0.5114, allocations: 0.8177 MB / 1.525 GB, free: 5.531 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.5131, allocations: 1.275 MB / 1.526 GB, free: 4.25 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.5181, allocations: 3.794 MB / 1.53 GB, free: 452 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5181, allocations: 0 / 1.53 GB, free: 452 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5181, allocations: 0 / 1.53 GB, free: 452 kB / 1.217 GB Notification: Performance of Transformations before backend: time 9.195e-05/0.5182, allocations: 0 / 1.53 GB, free: 452 kB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005473/0.5237, allocations: 2.946 MB / 1.533 GB, free: 13.44 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5237, allocations: 16.02 kB / 1.533 GB, free: 13.43 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003355/0.524, allocations: 248.9 kB / 1.533 GB, free: 13.17 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/0.5281, allocations: 0.6267 MB / 1.533 GB, free: 12.54 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/0.5322, allocations: 3.366 MB / 1.537 GB, free: 9.141 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.5323, allocations: 131.4 kB / 1.537 GB, free: 9.012 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.5325, allocations: 168 kB / 1.537 GB, free: 8.848 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.5356, allocations: 1.944 MB / 1.539 GB, free: 6.852 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.5356, allocations: 3.938 kB / 1.539 GB, free: 6.848 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.5358, allocations: 76 kB / 1.539 GB, free: 6.773 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.5358, allocations: 40 kB / 1.539 GB, free: 6.734 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.5392, allocations: 2.089 MB / 1.541 GB, free: 4.641 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009188/0.5484, allocations: 6.694 MB / 1.548 GB, free: 13.55 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.5515, allocations: 1.705 MB / 1.549 GB, free: 11.84 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.5527, allocations: 0.7022 MB / 1.55 GB, free: 11.13 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.5532, allocations: 129.1 kB / 1.55 GB, free: 11.01 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/0.5548, allocations: 1.001 MB / 1.551 GB, free: 9.988 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.565e-06/0.5549, allocations: 0 / 1.551 GB, free: 9.988 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.00631/0.5612, allocations: 2.597 MB / 1.554 GB, free: 7.367 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.5613, allocations: 201.2 kB / 1.554 GB, free: 7.129 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/0.566, allocations: 4.073 MB / 1.558 GB, free: 3.051 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.5662, allocations: 61.64 kB / 1.558 GB, free: 2.984 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008063/0.567, allocations: 0.9115 MB / 1.559 GB, free: 2.062 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.5674, allocations: 0.4957 MB / 1.559 GB, free: 1.562 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.5678, allocations: 242.8 kB / 1.559 GB, free: 1.32 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5679, allocations: 357.9 kB / 1.56 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.569, allocations: 0.5687 MB / 1.56 GB, free: 404 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5703, allocations: 0.7931 MB / 1.561 GB, free: 15.54 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.5725, allocations: 1.306 MB / 1.562 GB, free: 14.22 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5725, allocations: 0 / 1.562 GB, free: 14.22 MB / 1.264 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003776/0.5763, allocations: 1.78 MB / 1.564 GB, free: 12.41 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5763, allocations: 4 kB / 1.564 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5763, allocations: 4 kB / 1.564 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.5774, allocations: 224.1 kB / 1.564 GB, free: 12.17 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.5788, allocations: 315.6 kB / 1.565 GB, free: 11.86 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.5851, allocations: 6.823 MB / 1.571 GB, free: 4.465 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.5869, allocations: 167.1 kB / 1.572 GB, free: 4.301 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.5872, allocations: 47.95 kB / 1.572 GB, free: 4.254 MB / 1.264 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 (144): * Single equations (assignments): 139 * 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.001436/0.5886, allocations: 489.4 kB / 1.572 GB, free: 3.766 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007498/0.5894, allocations: 198.7 kB / 1.572 GB, free: 3.57 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/0.5941, allocations: 2.149 MB / 1.574 GB, free: 1.391 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.5941, allocations: 16 kB / 1.574 GB, free: 1.375 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5941, allocations: 0 / 1.574 GB, free: 1.375 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.5941, allocations: 7.969 kB / 1.574 GB, free: 1.367 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007524/0.6016, allocations: 4.076 MB / 1.578 GB, free: 13.23 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6016, allocations: 0 / 1.578 GB, free: 13.23 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.603, allocations: 319.5 kB / 1.579 GB, free: 12.91 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008422/0.6039, allocations: 204.1 kB / 1.579 GB, free: 12.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.604, allocations: 39.97 kB / 1.579 GB, free: 12.66 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00597/0.6099, allocations: 6.842 MB / 1.586 GB, free: 5.23 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6099, allocations: 0 / 1.586 GB, free: 5.23 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/0.6142, allocations: 2.006 MB / 1.587 GB, free: 3.188 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.6155, allocations: 466 kB / 1.588 GB, free: 2.73 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/0.616, allocations: 31.98 kB / 1.588 GB, free: 2.699 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.6174, allocations: 107.4 kB / 1.588 GB, free: 2.598 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.6177, allocations: 121.1 kB / 1.588 GB, free: 2.48 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.6178, allocations: 67.95 kB / 1.588 GB, free: 2.414 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003673/0.6215, allocations: 3.148 MB / 1.591 GB, free: 15.27 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.6215, allocations: 0 / 1.591 GB, free: 15.27 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001885/0.6234, allocations: 0.6937 MB / 1.592 GB, free: 14.57 MB / 1.295 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.006415/0.6298, allocations: 3.199 MB / 1.595 GB, free: 11.52 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003415/0.6332, allocations: 2 MB / 1.597 GB, free: 9.453 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6332, allocations: 4.656 kB / 1.597 GB, free: 9.449 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.6353, allocations: 1.364 MB / 1.598 GB, free: 8.023 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.6377, allocations: 0.5519 MB / 1.599 GB, free: 7.492 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5678/1.206, allocations: 20.9 MB / 1.619 GB, free: 270.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009936/1.207, allocations: 1.53 MB / 1.621 GB, free: 270 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001537/1.208, allocations: 0.5253 MB / 1.621 GB, free: 270 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009678/1.209, allocations: 0.9106 MB / 1.622 GB, free: 269.3 MB / 1.295 GB Notification: Performance of SimCode: time 7.21e-07/1.209, allocations: 0 / 1.622 GB, free: 269.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09407/1.303, allocations: 50.54 MB / 1.672 GB, free: 235.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.58, allocations: 6.031 kB / 1.672 GB, free: 235.6 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.922070549800992]