Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 110.1 kB / 16.42 MB, free: 6.488 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.001434/0.001434, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8137, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002232/0.816, allocations: 1.573 MB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000601/0.8166, allocations: 455 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.8167, allocations: 4.688 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.8167, allocations: 4.594 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.8168, allocations: 11.36 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.8169, allocations: 37 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.8171, allocations: 65.08 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.8171, allocations: 16.5 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.8172, allocations: 33.28 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.8173, allocations: 32.92 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.8173, allocations: 6.156 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.8174, allocations: 6.156 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.8174, allocations: 14.61 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.8174, allocations: 30.69 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.8176, allocations: 62.12 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8176, allocations: 1.125 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8176, allocations: 4 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.8176, allocations: 0 / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004738/0.8181, allocations: 370.8 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.8181, allocations: 8.062 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.8181, allocations: 10 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.512e-05/0.8182, allocations: 180.7 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.8182, allocations: 3.859 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.8183, allocations: 14.94 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.8185, allocations: 82.38 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8185, allocations: 1.219 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.8185, allocations: 5.562 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.8185, allocations: 1.156 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.8186, allocations: 43.05 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.8191, allocations: 317.2 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.8193, allocations: 101.2 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.8194, allocations: 46.39 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.8195, allocations: 1.188 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.8197, allocations: 115.7 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.8197, allocations: 0 / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003797/0.8201, allocations: 169.5 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.8201, allocations: 52.94 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.8202, allocations: 123.6 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.8202, allocations: 27.81 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.8202, allocations: 87.14 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.8202, allocations: 34.89 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.8203, allocations: 28.98 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.8203, allocations: 323.4 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.8204, allocations: 28.19 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.8205, allocations: 47.61 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.8207, allocations: 65.62 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8207, allocations: 4 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002026/0.8209, allocations: 115.4 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.8209, allocations: 6.016 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8209, allocations: 0.6875 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8209, allocations: 0.8438 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.821, allocations: 19.55 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.821, allocations: 1.938 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.8211, allocations: 10.94 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.8211, allocations: 7.094 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,soc.suspend,soc.discharged,$PRE.soc.discharged,soc.charged,$PRE.soc.charged,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.8212, allocations: 124.9 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.8212, allocations: 5.062 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.8212, allocations: 9.75 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8213, allocations: 2.078 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8213, allocations: 0 / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.8213, allocations: 91.8 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.8213, allocations: 11.42 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.8214, allocations: 14.86 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.8215, allocations: 16.02 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000326/0.8218, allocations: 221.6 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003621/0.8222, allocations: 366.7 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001041/0.8223, allocations: 57.78 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.8223, allocations: 92.05 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of Backend: time 2e-07/0.8223, allocations: 0 / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.8227, allocations: 134.7 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004536/0.8232, allocations: 0.6896 MB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of Templates: time 0.003734/0.8269, allocations: 1.192 MB / 1.096 GB, free: 348 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_StateOfCharge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches