Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001782/0.001782, 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.001955/0.001955, 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 443.5 MB / 0.7287 GB, free: 14.64 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 71.88 kB / 1.056 GB, free: 2.555 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3112, allocations: 160.7 MB / 1.213 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8655/1.177, allocations: 168.8 MB / 1.378 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02653/1.203, allocations: 17.16 MB / 1.395 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/1.206, allocations: 29.97 kB / 1.395 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/1.208, allocations: 0.5668 MB / 1.395 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005751/1.213, allocations: 1.643 MB / 1.397 GB, free: 11.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/1.218, allocations: 1.334 MB / 1.398 GB, free: 10.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004651/1.222, allocations: 2.689 MB / 1.401 GB, free: 9.203 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/1.225, allocations: 1.55 MB / 1.402 GB, free: 8.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004788/1.23, allocations: 1.396 MB / 1.404 GB, free: 7.297 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/1.232, allocations: 1.011 MB / 1.405 GB, free: 6.602 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004692/1.232, allocations: 206.2 kB / 1.405 GB, free: 6.602 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/1.236, allocations: 1.459 MB / 1.406 GB, free: 5.902 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006836/1.237, allocations: 0.563 MB / 1.407 GB, free: 5.461 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/1.238, allocations: 1.036 MB / 1.408 GB, free: 4.734 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00561/1.244, allocations: 3.128 MB / 1.411 GB, free: 2.539 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/1.244, allocations: 4 kB / 1.411 GB, free: 2.535 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/1.244, allocations: 4 kB / 1.411 GB, free: 2.531 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.213e-05/1.244, allocations: 0 / 1.411 GB, free: 2.531 MB / 1.076 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.004809/1.249, allocations: 2.342 MB / 1.413 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.249, allocations: 9.781 kB / 1.413 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/1.249, allocations: 246.2 kB / 1.413 GB, free: 0.582 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/1.253, allocations: 0.518 MB / 1.414 GB, free: 348 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/1.255, allocations: 1.136 MB / 1.415 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/1.255, allocations: 130.3 kB / 1.415 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/1.256, allocations: 162.1 kB / 1.415 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/1.259, allocations: 1.846 MB / 1.417 GB, free: 14.22 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/1.259, allocations: 0 / 1.417 GB, free: 14.22 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/1.259, allocations: 73.38 kB / 1.417 GB, free: 14.17 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/1.26, allocations: 47.22 kB / 1.417 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/1.263, allocations: 1.875 MB / 1.419 GB, free: 13.27 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009685/1.273, allocations: 5.523 MB / 1.424 GB, free: 8.629 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/1.276, allocations: 1.683 MB / 1.426 GB, free: 6.867 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/1.277, allocations: 0.5856 MB / 1.427 GB, free: 6.277 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.278, allocations: 0.8078 MB / 1.427 GB, free: 5.305 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.28, allocations: 0.8841 MB / 1.428 GB, free: 4.398 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.476e-06/1.28, allocations: 4 kB / 1.428 GB, free: 4.395 MB / 1.092 GB Notification: Performance of matching and sorting (n=146): time 0.00655/1.286, allocations: 2.553 MB / 1.431 GB, free: 1.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/1.287, allocations: 209.2 kB / 1.431 GB, free: 1.484 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.288, allocations: 0.8271 MB / 1.432 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001675/1.288, allocations: 61.7 kB / 1.432 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/1.289, allocations: 0.6579 MB / 1.432 GB, free: 15.89 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004873/1.289, allocations: 0.4996 MB / 1.433 GB, free: 15.39 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/1.29, allocations: 234.8 kB / 1.433 GB, free: 15.15 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.29, allocations: 357.9 kB / 1.433 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.291, allocations: 478.3 kB / 1.434 GB, free: 14.33 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/1.292, allocations: 0.634 MB / 1.435 GB, free: 13.66 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/1.294, allocations: 1.103 MB / 1.436 GB, free: 12.54 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.294, allocations: 1.125 kB / 1.436 GB, free: 12.54 MB / 1.107 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003689/1.298, allocations: 1.496 MB / 1.437 GB, free: 11.03 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.298, allocations: 8 kB / 1.437 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.298, allocations: 96 / 1.437 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009456/1.299, allocations: 200.2 kB / 1.437 GB, free: 10.81 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.301, allocations: 327.5 kB / 1.438 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006832/1.307, allocations: 7.287 MB / 1.445 GB, free: 2.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.309, allocations: 155.1 kB / 1.445 GB, free: 2.348 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.309, allocations: 51.97 kB / 1.445 GB, free: 2.297 MB / 1.107 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.0009377/1.31, allocations: 369.7 kB / 1.445 GB, free: 1.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/1.31, allocations: 135.2 kB / 1.445 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/1.315, allocations: 1.843 MB / 1.447 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.315, allocations: 16 kB / 1.447 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.315, allocations: 4 kB / 1.447 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.315, allocations: 15.91 kB / 1.447 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006707/1.321, allocations: 3.437 MB / 1.451 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.321, allocations: 0 / 1.451 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.323, allocations: 311.6 kB / 1.451 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007606/1.324, allocations: 184.1 kB / 1.451 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/1.324, allocations: 39.97 kB / 1.451 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/1.33, allocations: 7.33 MB / 1.458 GB, free: 3.801 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.33, allocations: 0 / 1.458 GB, free: 3.801 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/1.334, allocations: 1.717 MB / 1.46 GB, free: 2.047 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008709/1.335, allocations: 407.7 kB / 1.46 GB, free: 1.629 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/1.335, allocations: 31.95 kB / 1.46 GB, free: 1.598 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.336, allocations: 102.2 kB / 1.46 GB, free: 1.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/1.337, allocations: 113.1 kB / 1.461 GB, free: 1.391 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.337, allocations: 67.95 kB / 1.461 GB, free: 1.324 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008404/1.338, allocations: 0.5786 MB / 1.461 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.338, allocations: 0 / 1.461 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001527/1.339, allocations: 0.6039 MB / 1.462 GB, free: 132 kB / 1.123 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.006042/1.345, allocations: 2.901 MB / 1.465 GB, free: 13.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003275/1.348, allocations: 1.781 MB / 1.466 GB, free: 11.54 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.348, allocations: 8.5 kB / 1.466 GB, free: 11.54 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.35, allocations: 1.25 MB / 1.468 GB, free: 10.22 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.353, allocations: 0.5256 MB / 1.468 GB, free: 9.715 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.37, allocations: 9.959 MB / 1.478 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.371, allocations: 1.3 MB / 1.479 GB, free: 14.24 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001568/1.373, allocations: 438.3 kB / 1.479 GB, free: 13.81 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/1.374, allocations: 0.6554 MB / 1.48 GB, free: 13.15 MB / 1.154 GB Notification: Performance of SimCode: time 5.91e-07/1.374, allocations: 0 / 1.48 GB, free: 13.15 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09131/1.465, allocations: 37.8 MB / 1.517 GB, free: 7.734 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/17.15, allocations: 23.7 kB / 1.517 GB, free: 7.715 MB / 1.186 GB " [Timeout remaining time 283] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 23.439634212758392]