Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001445/0.001445, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001568/0.001568, allocations: 212 kB / 20.13 MB, free: 2.949 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.395/1.395, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.054/3.054, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_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.002001/0.002001, allocations: 63.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8442/0.8462, allocations: 179 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2067/1.053, allocations: 179.7 MB / 1.516 GB, free: 4.398 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02395/1.077, allocations: 15.83 MB / 1.531 GB, free: 4.523 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/1.079, allocations: 43.62 kB / 1.531 GB, free: 4.48 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/1.08, allocations: 0.6362 MB / 1.532 GB, free: 3.84 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004714/1.085, allocations: 1.619 MB / 1.533 GB, free: 2.215 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/1.09, allocations: 1.707 MB / 1.535 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004322/1.094, allocations: 2.928 MB / 1.538 GB, free: 13.58 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/1.097, allocations: 1.532 MB / 1.539 GB, free: 11.99 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/1.101, allocations: 1.658 MB / 1.541 GB, free: 10.36 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/1.103, allocations: 1.07 MB / 1.542 GB, free: 9.289 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004527/1.104, allocations: 204 kB / 1.542 GB, free: 9.09 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/1.107, allocations: 1.412 MB / 1.544 GB, free: 7.676 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000728/1.108, allocations: 0.5764 MB / 1.544 GB, free: 7.098 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001582/1.109, allocations: 1.053 MB / 1.545 GB, free: 6.039 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005297/1.115, allocations: 3.071 MB / 1.548 GB, free: 2.957 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.115, allocations: 0 / 1.548 GB, free: 2.957 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.813e-06/1.115, allocations: 0 / 1.548 GB, free: 2.957 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.031e-05/1.115, allocations: 0 / 1.548 GB, free: 2.957 MB / 1.217 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.004796/1.119, allocations: 2.398 MB / 1.551 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.119, allocations: 8.031 kB / 1.551 GB, free: 496 kB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.023e-05/1.119, allocations: 43.2 kB / 1.551 GB, free: 452 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003151/1.12, allocations: 236.3 kB / 1.551 GB, free: 204 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/1.124, allocations: 0.5216 MB / 1.551 GB, free: 15.68 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/1.126, allocations: 1.161 MB / 1.552 GB, free: 14.46 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/1.126, allocations: 115.2 kB / 1.553 GB, free: 14.34 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/1.126, allocations: 164 kB / 1.553 GB, free: 14.18 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/1.13, allocations: 1.788 MB / 1.554 GB, free: 12.32 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/1.13, allocations: 11.94 kB / 1.554 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/1.13, allocations: 72 kB / 1.555 GB, free: 12.23 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/1.13, allocations: 44 kB / 1.555 GB, free: 12.19 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/1.133, allocations: 1.776 MB / 1.556 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009666/1.143, allocations: 6.304 MB / 1.562 GB, free: 3.707 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/1.146, allocations: 1.484 MB / 1.564 GB, free: 2.172 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/1.147, allocations: 0.5167 MB / 1.564 GB, free: 1.648 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.148, allocations: 0.8867 MB / 1.565 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/1.15, allocations: 0.801 MB / 1.566 GB, free: 15.76 MB / 1.248 GB Notification: Performance of pre-optimization done (n=126): time 3.095e-06/1.15, allocations: 0 / 1.566 GB, free: 15.76 MB / 1.248 GB Notification: Performance of matching and sorting (n=126): time 0.005118/1.155, allocations: 1.895 MB / 1.568 GB, free: 13.84 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.155, allocations: 196.9 kB / 1.568 GB, free: 13.6 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/1.156, allocations: 1.012 MB / 1.569 GB, free: 12.57 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.156, allocations: 53.7 kB / 1.569 GB, free: 12.52 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/1.157, allocations: 0.6777 MB / 1.57 GB, free: 11.83 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/1.157, allocations: 440.2 kB / 1.57 GB, free: 11.39 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/1.158, allocations: 210.9 kB / 1.57 GB, free: 11.18 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.158, allocations: 353.9 kB / 1.571 GB, free: 10.83 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009425/1.159, allocations: 426.4 kB / 1.571 GB, free: 10.41 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/1.16, allocations: 0.5897 MB / 1.572 GB, free: 9.777 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/1.162, allocations: 1.015 MB / 1.573 GB, free: 8.742 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.162, allocations: 0 / 1.573 GB, free: 8.742 MB / 1.248 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003215/1.165, allocations: 1.317 MB / 1.574 GB, free: 7.414 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.165, allocations: 4 kB / 1.574 GB, free: 7.41 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.165, allocations: 4 kB / 1.574 GB, free: 7.406 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/1.166, allocations: 80.94 kB / 1.574 GB, free: 7.324 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.167, allocations: 287.6 kB / 1.574 GB, free: 7.043 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/1.17, allocations: 1.65 MB / 1.576 GB, free: 5.246 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.171, allocations: 143.2 kB / 1.576 GB, free: 5.105 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.171, allocations: 47.97 kB / 1.576 GB, free: 5.059 MB / 1.248 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.0007356/1.172, allocations: 381.6 kB / 1.577 GB, free: 4.676 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/1.172, allocations: 147 kB / 1.577 GB, free: 4.531 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/1.176, allocations: 1.606 MB / 1.578 GB, free: 2.91 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.176, allocations: 16 kB / 1.578 GB, free: 2.895 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/1.176, allocations: 0 / 1.578 GB, free: 2.895 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/1.176, allocations: 7.969 kB / 1.578 GB, free: 2.887 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006128/1.182, allocations: 3.191 MB / 1.581 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.182, allocations: 0 / 1.581 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.183, allocations: 263.7 kB / 1.582 GB, free: 15.38 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005012/1.184, allocations: 76.78 kB / 1.582 GB, free: 15.3 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/1.184, allocations: 39.97 kB / 1.582 GB, free: 15.26 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/1.186, allocations: 1.674 MB / 1.583 GB, free: 13.44 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.186, allocations: 3.938 kB / 1.583 GB, free: 13.44 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/1.191, allocations: 2.183 MB / 1.586 GB, free: 11.23 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.192, allocations: 411.6 kB / 1.586 GB, free: 10.81 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/1.193, allocations: 31.98 kB / 1.586 GB, free: 10.78 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.194, allocations: 86.05 kB / 1.586 GB, free: 10.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/1.194, allocations: 97.17 kB / 1.586 GB, free: 10.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.194, allocations: 59.95 kB / 1.586 GB, free: 10.55 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001186/1.196, allocations: 0.7041 MB / 1.587 GB, free: 9.836 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.1e-08/1.196, allocations: 4 kB / 1.587 GB, free: 9.832 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001789/1.197, allocations: 0.5571 MB / 1.587 GB, free: 9.273 MB / 1.264 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.007716/1.205, allocations: 3.335 MB / 1.591 GB, free: 6.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003138/1.208, allocations: 1.201 MB / 1.592 GB, free: 4.875 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.208, allocations: 448 / 1.592 GB, free: 4.875 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.21, allocations: 0.7167 MB / 1.593 GB, free: 4.145 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/1.213, allocations: 0.5721 MB / 1.593 GB, free: 3.59 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/1.235, allocations: 10.15 MB / 1.603 GB, free: 9.262 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.236, allocations: 1.311 MB / 1.604 GB, free: 7.918 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001912/1.238, allocations: 443 kB / 1.605 GB, free: 7.48 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.239, allocations: 0.6749 MB / 1.605 GB, free: 6.805 MB / 1.279 GB Notification: Performance of SimCode: time 1.533e-06/1.239, allocations: 4 kB / 1.605 GB, free: 6.801 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08599/1.325, allocations: 37.91 MB / 1.642 GB, free: 1.277 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.86, allocations: 11.06 kB / 1.642 GB, free: 1.27 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.523579450964462]