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.00125/0.00125, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001397/0.001397, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 8 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.988/2.988, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 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.001894/0.001894, allocations: 66.88 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2912, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1798/0.471, allocations: 148.3 MB / 1.47 GB, free: 13.47 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.4927, allocations: 16.2 MB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.4939, allocations: 43.62 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.4953, allocations: 0.5583 MB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.4998, allocations: 1.839 MB / 1.488 GB, free: 10.78 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.5031, allocations: 1.468 MB / 1.49 GB, free: 9.324 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003499/0.5066, allocations: 2.886 MB / 1.492 GB, free: 6.426 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.5088, allocations: 1.567 MB / 1.494 GB, free: 4.797 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.5129, allocations: 1.516 MB / 1.495 GB, free: 3.32 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.5145, allocations: 1.05 MB / 1.496 GB, free: 2.266 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.5148, allocations: 220 kB / 1.497 GB, free: 2.051 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.5179, allocations: 1.455 MB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000756/0.5186, allocations: 0.8139 MB / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.5197, allocations: 1.05 MB / 1.5 GB, free: 14.72 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.5244, allocations: 3.79 MB / 1.504 GB, free: 10.92 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5244, allocations: 0 / 1.504 GB, free: 10.92 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5244, allocations: 0 / 1.504 GB, free: 10.92 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.343e-05/0.5245, allocations: 0 / 1.504 GB, free: 10.92 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004913/0.5294, allocations: 2.954 MB / 1.506 GB, free: 7.91 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5294, allocations: 12.03 kB / 1.506 GB, free: 7.898 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003022/0.5297, allocations: 248.8 kB / 1.507 GB, free: 7.645 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.5337, allocations: 0.6267 MB / 1.507 GB, free: 7.016 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.5382, allocations: 3.382 MB / 1.511 GB, free: 3.598 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.5383, allocations: 127.4 kB / 1.511 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.5385, allocations: 172 kB / 1.511 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.5422, allocations: 2.697 MB / 1.514 GB, free: 380 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.5423, allocations: 0 / 1.514 GB, free: 380 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.5424, allocations: 75.98 kB / 1.514 GB, free: 304 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.5424, allocations: 47.94 kB / 1.514 GB, free: 256 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/0.546, allocations: 2.038 MB / 1.516 GB, free: 14.21 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00867/0.5546, allocations: 4.952 MB / 1.52 GB, free: 9.164 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.5578, allocations: 1.701 MB / 1.522 GB, free: 7.465 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.559, allocations: 0.7022 MB / 1.523 GB, free: 6.754 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/0.5594, allocations: 117.2 kB / 1.523 GB, free: 6.641 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002042/0.5614, allocations: 1.608 MB / 1.525 GB, free: 4.867 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.467e-06/0.5615, allocations: 0 / 1.525 GB, free: 4.867 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.00644/0.5679, allocations: 2.601 MB / 1.527 GB, free: 2.242 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.568, allocations: 205.2 kB / 1.527 GB, free: 2 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004911/0.5729, allocations: 4.085 MB / 1.531 GB, free: 13.91 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.5731, allocations: 53.7 kB / 1.531 GB, free: 13.85 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008918/0.574, allocations: 0.9115 MB / 1.532 GB, free: 12.93 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004809/0.5745, allocations: 0.4957 MB / 1.533 GB, free: 12.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.5749, allocations: 238.8 kB / 1.533 GB, free: 12.19 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5751, allocations: 357.9 kB / 1.533 GB, free: 11.84 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.5762, allocations: 0.5687 MB / 1.534 GB, free: 11.27 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.5778, allocations: 1.22 MB / 1.535 GB, free: 9.879 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.5802, allocations: 1.314 MB / 1.536 GB, free: 8.555 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5802, allocations: 0 / 1.536 GB, free: 8.555 MB / 1.232 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004011/0.5842, allocations: 1.78 MB / 1.538 GB, free: 6.75 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5842, allocations: 4 kB / 1.538 GB, free: 6.746 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5842, allocations: 4 kB / 1.538 GB, free: 6.742 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.5853, allocations: 216.2 kB / 1.538 GB, free: 6.516 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5867, allocations: 319.6 kB / 1.539 GB, free: 6.203 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.5931, allocations: 6.783 MB / 1.545 GB, free: 14.85 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.5946, allocations: 171.2 kB / 1.545 GB, free: 14.68 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.5947, allocations: 47.97 kB / 1.545 GB, free: 14.63 MB / 1.248 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.0008857/0.5956, allocations: 487.5 kB / 1.546 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.5959, allocations: 202.7 kB / 1.546 GB, free: 13.95 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.6004, allocations: 2.142 MB / 1.548 GB, free: 11.78 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.6004, allocations: 20 kB / 1.548 GB, free: 11.76 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6004, allocations: 4 kB / 1.548 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.6004, allocations: 7.969 kB / 1.548 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006915/0.6073, allocations: 3.799 MB / 1.552 GB, free: 7.879 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6073, allocations: 4 kB / 1.552 GB, free: 7.875 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.6087, allocations: 323.5 kB / 1.552 GB, free: 7.559 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008695/0.6096, allocations: 204.1 kB / 1.552 GB, free: 7.344 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/0.6097, allocations: 43.95 kB / 1.552 GB, free: 7.301 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.6158, allocations: 6.815 MB / 1.559 GB, free: 15.9 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6158, allocations: 0 / 1.559 GB, free: 15.9 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.6201, allocations: 2.014 MB / 1.561 GB, free: 13.85 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.6213, allocations: 462 kB / 1.561 GB, free: 13.39 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.6216, allocations: 28 kB / 1.561 GB, free: 13.37 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.6228, allocations: 107.9 kB / 1.562 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.623, allocations: 117.1 kB / 1.562 GB, free: 13.15 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.6232, allocations: 75.94 kB / 1.562 GB, free: 13.07 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003641/0.6268, allocations: 3.136 MB / 1.565 GB, free: 9.945 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6268, allocations: 0 / 1.565 GB, free: 9.945 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001853/0.6287, allocations: 0.6976 MB / 1.566 GB, free: 9.246 MB / 1.264 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.006627/0.6353, allocations: 3.243 MB / 1.569 GB, free: 6.176 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003527/0.6388, allocations: 2.004 MB / 1.571 GB, free: 4.105 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6388, allocations: 0.6562 kB / 1.571 GB, free: 4.105 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.641, allocations: 1.356 MB / 1.572 GB, free: 2.688 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.6434, allocations: 0.5485 MB / 1.572 GB, free: 2.156 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/0.6741, allocations: 20.9 MB / 1.593 GB, free: 13.03 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.6752, allocations: 0.955 MB / 1.594 GB, free: 12.04 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001751/0.677, allocations: 0.529 MB / 1.594 GB, free: 11.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.6782, allocations: 0.9092 MB / 1.595 GB, free: 10.59 MB / 1.295 GB Notification: Performance of SimCode: time 8.52e-07/0.6782, allocations: 0 / 1.595 GB, free: 10.59 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6407/1.319, allocations: 52.77 MB / 1.647 GB, free: 260.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.86, allocations: 11.3 kB / 1.647 GB, free: 260.9 MB / 1.295 GB " [Timeout remaining time 284] (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.2887470619753]