Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001738/0.001738, allocations: 102.7 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.00205/0.00205, allocations: 188.6 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.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 3.758 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.832/2.832, allocations: 497.2 MB / 0.7812 GB, free: 12.03 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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.89 kB / 1.134 GB, free: 13.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9355, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2043/1.14, allocations: 169 MB / 1.469 GB, free: 5.367 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02693/1.167, allocations: 17.45 MB / 1.486 GB, free: 8.195 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/1.169, allocations: 30.12 kB / 1.486 GB, free: 8.184 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/1.171, allocations: 0.5998 MB / 1.487 GB, free: 7.676 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/1.178, allocations: 1.809 MB / 1.488 GB, free: 6.324 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005001/1.183, allocations: 1.45 MB / 1.49 GB, free: 5.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005085/1.188, allocations: 2.851 MB / 1.493 GB, free: 3.523 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/1.191, allocations: 1.604 MB / 1.494 GB, free: 2.348 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/1.197, allocations: 1.467 MB / 1.496 GB, free: 1.52 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/1.199, allocations: 1.137 MB / 1.497 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007099/1.2, allocations: 220.5 kB / 1.497 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/1.205, allocations: 1.598 MB / 1.498 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/1.206, allocations: 0.8127 MB / 1.499 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002539/1.209, allocations: 1.272 MB / 1.501 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007379/1.216, allocations: 3.743 MB / 1.504 GB, free: 10.56 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.216, allocations: 0 / 1.504 GB, free: 10.56 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.765e-06/1.216, allocations: 0 / 1.504 GB, free: 10.56 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.844e-05/1.216, allocations: 0 / 1.504 GB, free: 10.56 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006618/1.223, allocations: 2.994 MB / 1.507 GB, free: 7.496 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.223, allocations: 11.97 kB / 1.507 GB, free: 7.484 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004149/1.223, allocations: 248.8 kB / 1.507 GB, free: 7.23 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004052/1.227, allocations: 0.5799 MB / 1.508 GB, free: 6.648 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/1.233, allocations: 3.438 MB / 1.511 GB, free: 3.16 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/1.233, allocations: 127.4 kB / 1.511 GB, free: 3.035 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/1.233, allocations: 172 kB / 1.512 GB, free: 2.867 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003902/1.237, allocations: 1.948 MB / 1.513 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/1.237, allocations: 3.984 kB / 1.513 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/1.237, allocations: 72 kB / 1.514 GB, free: 0.793 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/1.237, allocations: 40 kB / 1.514 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004463/1.242, allocations: 2.089 MB / 1.516 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/1.255, allocations: 6.749 MB / 1.522 GB, free: 7.52 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/1.259, allocations: 2.003 MB / 1.524 GB, free: 5.445 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.26, allocations: 0.6983 MB / 1.525 GB, free: 4.746 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/1.261, allocations: 433.5 kB / 1.525 GB, free: 4.25 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002126/1.263, allocations: 1.001 MB / 1.526 GB, free: 3.227 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.497e-06/1.263, allocations: 4 kB / 1.526 GB, free: 3.223 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.008015/1.271, allocations: 2.966 MB / 1.529 GB, free: 148 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/1.272, allocations: 201.2 kB / 1.529 GB, free: 15.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006093/1.278, allocations: 4.056 MB / 1.533 GB, free: 11.84 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/1.278, allocations: 57.7 kB / 1.533 GB, free: 11.78 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.279, allocations: 0.8997 MB / 1.534 GB, free: 10.87 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007517/1.28, allocations: 0.4996 MB / 1.535 GB, free: 10.37 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006447/1.28, allocations: 234.8 kB / 1.535 GB, free: 10.13 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002174/1.281, allocations: 357.9 kB / 1.535 GB, free: 9.773 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.282, allocations: 0.5726 MB / 1.536 GB, free: 9.203 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/1.284, allocations: 0.7969 MB / 1.537 GB, free: 8.34 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/1.286, allocations: 1.314 MB / 1.538 GB, free: 7.016 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.286, allocations: 0 / 1.538 GB, free: 7.016 MB / 1.217 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004661/1.291, allocations: 1.773 MB / 1.54 GB, free: 5.219 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.291, allocations: 5.719 kB / 1.54 GB, free: 5.215 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.291, allocations: 3.938 kB / 1.54 GB, free: 5.211 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/1.292, allocations: 216.2 kB / 1.54 GB, free: 4.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.294, allocations: 319.6 kB / 1.54 GB, free: 4.672 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007398/1.301, allocations: 7.329 MB / 1.547 GB, free: 12.63 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.303, allocations: 159.3 kB / 1.547 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.303, allocations: 55.95 kB / 1.548 GB, free: 12.42 MB / 1.232 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.001053/1.304, allocations: 481.4 kB / 1.548 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/1.305, allocations: 198.7 kB / 1.548 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/1.309, allocations: 2.142 MB / 1.55 GB, free: 9.578 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.309, allocations: 12 kB / 1.55 GB, free: 9.566 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.309, allocations: 7.938 kB / 1.55 GB, free: 9.559 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/1.309, allocations: 7.969 kB / 1.55 GB, free: 9.551 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/1.318, allocations: 4.108 MB / 1.554 GB, free: 5.367 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.318, allocations: 7.938 kB / 1.554 GB, free: 5.359 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.319, allocations: 315.6 kB / 1.555 GB, free: 5.051 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/1.32, allocations: 200.1 kB / 1.555 GB, free: 4.84 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.32, allocations: 47.95 kB / 1.555 GB, free: 4.793 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007286/1.328, allocations: 7.348 MB / 1.562 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.328, allocations: 0 / 1.562 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/1.332, allocations: 2.01 MB / 1.564 GB, free: 10.69 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.334, allocations: 0.5187 MB / 1.564 GB, free: 10.15 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/1.334, allocations: 32 kB / 1.564 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.335, allocations: 97.41 kB / 1.565 GB, free: 10.03 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/1.336, allocations: 121.1 kB / 1.565 GB, free: 9.906 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.336, allocations: 71.95 kB / 1.565 GB, free: 9.836 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003965/1.34, allocations: 3.116 MB / 1.568 GB, free: 6.727 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.4e-07/1.34, allocations: 3.938 kB / 1.568 GB, free: 6.723 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002444/1.342, allocations: 0.6898 MB / 1.568 GB, free: 6.031 MB / 1.248 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.00745/1.35, allocations: 3.223 MB / 1.572 GB, free: 2.969 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004265/1.354, allocations: 2 MB / 1.574 GB, free: 0.9062 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.354, allocations: 4.562 kB / 1.574 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/1.357, allocations: 1.364 MB / 1.575 GB, free: 15.47 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.36, allocations: 0.5575 MB / 1.575 GB, free: 14.94 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03444/1.394, allocations: 20.82 MB / 1.596 GB, free: 9.871 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.396, allocations: 1.533 MB / 1.597 GB, free: 8.305 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001939/1.398, allocations: 0.529 MB / 1.598 GB, free: 7.77 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.399, allocations: 0.8976 MB / 1.599 GB, free: 6.871 MB / 1.279 GB Notification: Performance of SimCode: time 1.343e-06/1.399, allocations: 0 / 1.599 GB, free: 6.871 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.521, allocations: 49.27 MB / 1.647 GB, free: 6.09 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.81, allocations: 8 kB / 1.647 GB, free: 6.082 MB / 1.326 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.436400606296957]