Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001576/0.001576, allocations: 115.6 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.001892/0.001892, allocations: 215 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.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.779/2.779, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.001941/0.001941, allocations: 67.91 kB / 1.15 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9107, allocations: 176.1 MB / 1.321 GB, free: 7.664 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2005/1.111, allocations: 171.8 MB / 1.489 GB, free: 9.727 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02248/1.134, allocations: 17.25 MB / 1.506 GB, free: 8.426 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/1.135, allocations: 39.62 kB / 1.506 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/1.137, allocations: 0.5739 MB / 1.507 GB, free: 7.809 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/1.142, allocations: 1.664 MB / 1.508 GB, free: 6.141 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/1.146, allocations: 1.349 MB / 1.51 GB, free: 4.805 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00465/1.151, allocations: 2.711 MB / 1.512 GB, free: 2.082 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002789/1.153, allocations: 1.566 MB / 1.514 GB, free: 472 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/1.158, allocations: 1.409 MB / 1.515 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/1.16, allocations: 1.019 MB / 1.516 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004445/1.16, allocations: 208 kB / 1.516 GB, free: 13.87 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/1.163, allocations: 1.497 MB / 1.518 GB, free: 12.37 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005657/1.164, allocations: 0.5646 MB / 1.518 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/1.165, allocations: 1.046 MB / 1.519 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005546/1.171, allocations: 3.168 MB / 1.522 GB, free: 7.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.171, allocations: 3.938 kB / 1.522 GB, free: 7.566 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/1.171, allocations: 0 / 1.522 GB, free: 7.566 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.838e-05/1.171, allocations: 0 / 1.522 GB, free: 7.566 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004594/1.175, allocations: 2.381 MB / 1.525 GB, free: 5.117 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.175, allocations: 19.98 kB / 1.525 GB, free: 5.098 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.285e-05/1.175, allocations: 43.41 kB / 1.525 GB, free: 5.055 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002916/1.176, allocations: 245 kB / 1.525 GB, free: 4.805 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/1.18, allocations: 0.5763 MB / 1.526 GB, free: 4.227 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.182, allocations: 1.141 MB / 1.527 GB, free: 3.039 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/1.182, allocations: 131.4 kB / 1.527 GB, free: 2.91 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.182, allocations: 167.9 kB / 1.527 GB, free: 2.746 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/1.186, allocations: 1.855 MB / 1.529 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/1.186, allocations: 0 / 1.529 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/1.186, allocations: 72 kB / 1.529 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/1.186, allocations: 44 kB / 1.529 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/1.19, allocations: 1.871 MB / 1.531 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008721/1.198, allocations: 5.718 MB / 1.536 GB, free: 8.75 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/1.202, allocations: 1.671 MB / 1.538 GB, free: 7.008 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/1.203, allocations: 0.5934 MB / 1.539 GB, free: 6.41 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/1.204, allocations: 1.449 MB / 1.54 GB, free: 4.648 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/1.206, allocations: 0.8956 MB / 1.541 GB, free: 3.73 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 2.605e-06/1.206, allocations: 0 / 1.541 GB, free: 3.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.00662/1.213, allocations: 2.564 MB / 1.543 GB, free: 1.055 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.213, allocations: 201.2 kB / 1.544 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.214, allocations: 0.8594 MB / 1.544 GB, free: 15.93 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/1.214, allocations: 61.69 kB / 1.545 GB, free: 15.86 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/1.215, allocations: 0.6655 MB / 1.545 GB, free: 15.19 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/1.215, allocations: 0.4956 MB / 1.546 GB, free: 14.69 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/1.216, allocations: 234.8 kB / 1.546 GB, free: 14.45 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.216, allocations: 361.8 kB / 1.546 GB, free: 14.09 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.217, allocations: 474.4 kB / 1.547 GB, free: 13.63 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/1.218, allocations: 0.6379 MB / 1.547 GB, free: 12.95 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/1.221, allocations: 1.095 MB / 1.548 GB, free: 11.85 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.221, allocations: 3.938 kB / 1.548 GB, free: 11.84 MB / 1.232 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003699/1.224, allocations: 1.5 MB / 1.55 GB, free: 10.32 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.224, allocations: 4 kB / 1.55 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.224, allocations: 4 kB / 1.55 GB, free: 10.31 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009266/1.225, allocations: 192.2 kB / 1.55 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.227, allocations: 327.5 kB / 1.55 GB, free: 9.789 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/1.233, allocations: 7.284 MB / 1.557 GB, free: 1.797 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.235, allocations: 153 kB / 1.558 GB, free: 1.648 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.235, allocations: 51.97 kB / 1.558 GB, free: 1.598 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 (148): * Single equations (assignments): 143 * 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.0008046/1.236, allocations: 381.5 kB / 1.558 GB, free: 1.215 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/1.236, allocations: 135.2 kB / 1.558 GB, free: 1.082 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/1.241, allocations: 1.843 MB / 1.56 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.241, allocations: 16 kB / 1.56 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.241, allocations: 4 kB / 1.56 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.241, allocations: 7.969 kB / 1.56 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006566/1.247, allocations: 3.476 MB / 1.563 GB, free: 11.63 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.247, allocations: 0 / 1.563 GB, free: 11.63 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.249, allocations: 311.6 kB / 1.564 GB, free: 11.33 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/1.25, allocations: 184.1 kB / 1.564 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/1.25, allocations: 43.97 kB / 1.564 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006396/1.256, allocations: 7.331 MB / 1.571 GB, free: 3.051 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.256, allocations: 0 / 1.571 GB, free: 3.051 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/1.26, allocations: 1.71 MB / 1.573 GB, free: 1.305 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007466/1.261, allocations: 415.6 kB / 1.573 GB, free: 0.8789 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.261, allocations: 31.98 kB / 1.573 GB, free: 0.8477 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.262, allocations: 98.53 kB / 1.573 GB, free: 0.7539 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/1.263, allocations: 121.1 kB / 1.573 GB, free: 0.6367 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.263, allocations: 67.95 kB / 1.573 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008974/1.264, allocations: 0.6025 MB / 1.574 GB, free: 15.96 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.264, allocations: 4 kB / 1.574 GB, free: 15.95 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001624/1.265, allocations: 0.6078 MB / 1.575 GB, free: 15.34 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.006349/1.272, allocations: 2.887 MB / 1.577 GB, free: 12.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003505/1.275, allocations: 1.785 MB / 1.579 GB, free: 10.75 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.275, allocations: 4.562 kB / 1.579 GB, free: 10.75 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/1.277, allocations: 1.247 MB / 1.58 GB, free: 9.434 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.28, allocations: 0.5227 MB / 1.581 GB, free: 8.926 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.299, allocations: 10.03 MB / 1.591 GB, free: 14.72 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.3, allocations: 1.309 MB / 1.592 GB, free: 13.38 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001604/1.301, allocations: 442.4 kB / 1.592 GB, free: 12.95 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.302, allocations: 0.6554 MB / 1.593 GB, free: 12.29 MB / 1.279 GB Notification: Performance of SimCode: time 9.72e-07/1.302, allocations: 0 / 1.593 GB, free: 12.29 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08866/1.391, allocations: 38.16 MB / 1.63 GB, free: 6.512 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.19, allocations: 11.75 kB / 1.63 GB, free: 6.504 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.60307436599396]