Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008875/0.008875, allocations: 97.83 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 194.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009278/0.3383, allocations: 7.392 MB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8375/1.176, allocations: 152.2 MB / 1.376 GB, free: 8.301 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.177, allocations: 19.25 kB / 1.376 GB, free: 8.297 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/1.178, allocations: 311.4 kB / 1.377 GB, free: 8.098 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/1.181, allocations: 0.8105 MB / 1.378 GB, free: 7.609 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/1.184, allocations: 1.143 MB / 1.379 GB, free: 6.977 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003327/1.188, allocations: 2.346 MB / 1.381 GB, free: 5.742 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/1.189, allocations: 0.7878 MB / 1.382 GB, free: 5.238 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/1.191, allocations: 0.9018 MB / 1.383 GB, free: 4.699 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/1.193, allocations: 0.9828 MB / 1.384 GB, free: 3.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006083/1.193, allocations: 267.2 kB / 1.384 GB, free: 3.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/1.195, allocations: 0.6515 MB / 1.384 GB, free: 3.777 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006248/1.196, allocations: 0.5455 MB / 1.385 GB, free: 3.312 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/1.197, allocations: 1.053 MB / 1.386 GB, free: 2.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003933/1.201, allocations: 3.125 MB / 1.389 GB, free: 168 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.201, allocations: 0 / 1.389 GB, free: 168 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/1.201, allocations: 0 / 1.389 GB, free: 168 kB / 1.076 GB Notification: Performance of Transformations before backend: time 4.351e-05/1.201, allocations: 1.125 kB / 1.389 GB, free: 168 kB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004568/1.206, allocations: 2.291 MB / 1.391 GB, free: 14.45 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.206, allocations: 9.281 kB / 1.391 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006227/1.212, allocations: 0.8711 MB / 1.392 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/1.214, allocations: 1.116 MB / 1.393 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/1.214, allocations: 125.2 kB / 1.393 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/1.214, allocations: 161.5 kB / 1.394 GB, free: 13.01 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004627/1.219, allocations: 2.05 MB / 1.396 GB, free: 11.77 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.219, allocations: 1.312 kB / 1.396 GB, free: 11.77 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/1.219, allocations: 74.34 kB / 1.396 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/1.219, allocations: 42.98 kB / 1.396 GB, free: 11.71 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/1.225, allocations: 2.443 MB / 1.398 GB, free: 10.52 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.00991/1.235, allocations: 5.64 MB / 1.404 GB, free: 6.098 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/1.239, allocations: 1.615 MB / 1.405 GB, free: 5.262 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/1.241, allocations: 0.7328 MB / 1.406 GB, free: 4.883 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/1.242, allocations: 494 kB / 1.406 GB, free: 4.355 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002613/1.245, allocations: 1.07 MB / 1.407 GB, free: 3.699 MB / 1.092 GB Notification: Performance of pre-optimization done (n=139): time 4.248e-06/1.245, allocations: 3.938 kB / 1.407 GB, free: 3.695 MB / 1.092 GB Notification: Performance of matching and sorting (n=139): time 0.007563/1.252, allocations: 2.61 MB / 1.41 GB, free: 2.332 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.252, allocations: 198.4 kB / 1.41 GB, free: 2.105 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/1.254, allocations: 0.8784 MB / 1.411 GB, free: 1.598 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/1.254, allocations: 53.64 kB / 1.411 GB, free: 1.547 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/1.255, allocations: 0.6424 MB / 1.412 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/1.255, allocations: 479.6 kB / 1.412 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/1.256, allocations: 269.6 kB / 1.412 GB, free: 372 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.256, allocations: 353.9 kB / 1.413 GB, free: 12 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/1.258, allocations: 0.6897 MB / 1.413 GB, free: 15.32 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/1.26, allocations: 0.8242 MB / 1.414 GB, free: 14.48 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/1.264, allocations: 1.467 MB / 1.416 GB, free: 12.99 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.264, allocations: 0.875 kB / 1.416 GB, free: 12.99 MB / 1.107 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005233/1.269, allocations: 1.84 MB / 1.417 GB, free: 11.14 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.269, allocations: 8 kB / 1.417 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.269, allocations: 0 / 1.417 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/1.27, allocations: 88.83 kB / 1.417 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/1.271, allocations: 343.5 kB / 1.418 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.274, allocations: 1.653 MB / 1.419 GB, free: 8.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.276, allocations: 207.1 kB / 1.42 GB, free: 8.707 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/1.276, allocations: 59.94 kB / 1.42 GB, free: 8.648 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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.001068/1.277, allocations: 396.6 kB / 1.42 GB, free: 8.25 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/1.277, allocations: 135.1 kB / 1.42 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006239/1.284, allocations: 2.212 MB / 1.422 GB, free: 5.895 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.284, allocations: 16 kB / 1.422 GB, free: 5.879 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.284, allocations: 0 / 1.422 GB, free: 5.879 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/1.284, allocations: 13.69 kB / 1.422 GB, free: 5.867 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/1.287, allocations: 1.789 MB / 1.424 GB, free: 4.035 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.287, allocations: 0 / 1.424 GB, free: 4.035 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/1.288, allocations: 311.6 kB / 1.424 GB, free: 3.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/1.289, allocations: 84.72 kB / 1.424 GB, free: 3.645 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/1.289, allocations: 51.94 kB / 1.425 GB, free: 3.594 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/1.291, allocations: 1.674 MB / 1.426 GB, free: 1.777 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.291, allocations: 0 / 1.426 GB, free: 1.777 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/1.297, allocations: 1.922 MB / 1.428 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/1.297, allocations: 439.6 kB / 1.428 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/1.298, allocations: 39.94 kB / 1.428 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.3, allocations: 145.9 kB / 1.429 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/1.3, allocations: 113.1 kB / 1.429 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.3, allocations: 59.95 kB / 1.429 GB, free: 15.03 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001054/1.301, allocations: 0.6462 MB / 1.429 GB, free: 14.37 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.301, allocations: 0 / 1.429 GB, free: 14.37 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001678/1.303, allocations: 0.5181 MB / 1.43 GB, free: 13.85 MB / 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: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001733/1.304, allocations: 0.6556 MB / 1.431 GB, free: 13.38 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004893/1.309, allocations: 1.759 MB / 1.432 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.309, allocations: 0 / 1.432 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002525/1.312, allocations: 0.9783 MB / 1.433 GB, free: 10.62 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.314, allocations: 386.5 kB / 1.434 GB, free: 10.27 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/1.32, allocations: 3 MB / 1.437 GB, free: 7.234 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/1.321, allocations: 1.26 MB / 1.438 GB, free: 5.941 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001828/1.322, allocations: 394.3 kB / 1.438 GB, free: 5.551 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006614/1.323, allocations: 163.3 kB / 1.438 GB, free: 5.391 MB / 1.123 GB Notification: Performance of SimCode: time 1.092e-06/1.323, allocations: 0 / 1.438 GB, free: 5.391 MB / 1.123 GB Notification: Performance of Templates: time 0.04184/1.365, allocations: 24.77 MB / 1.462 GB, free: 12.83 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches