Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 112.2 kB / 16.42 MB, free: 6.48 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.001518/0.001518, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.12 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7121, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00204/0.7142, allocations: 1.268 MB / 1.169 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.8482, allocations: 137.7 MB / 1.303 GB, free: 8.375 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.8483, allocations: 0 / 1.303 GB, free: 8.375 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.8483, allocations: 0 / 1.303 GB, free: 8.375 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.8484, allocations: 11.92 kB / 1.303 GB, free: 8.363 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.8497, allocations: 466.2 kB / 1.303 GB, free: 7.906 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.8498, allocations: 43.84 kB / 1.303 GB, free: 7.863 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.8499, allocations: 7.984 kB / 1.303 GB, free: 7.855 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.8499, allocations: 19.98 kB / 1.303 GB, free: 7.836 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.85, allocations: 15.91 kB / 1.304 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.85, allocations: 8 kB / 1.304 GB, free: 7.812 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.8515, allocations: 0.8231 MB / 1.304 GB, free: 6.988 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.8515, allocations: 7.984 kB / 1.304 GB, free: 6.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.8516, allocations: 19.92 kB / 1.304 GB, free: 6.961 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.8522, allocations: 451.6 kB / 1.305 GB, free: 6.523 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8523, allocations: 0 / 1.305 GB, free: 6.523 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8523, allocations: 0 / 1.305 GB, free: 6.523 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8523, allocations: 0 / 1.305 GB, free: 6.523 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004916/0.8528, allocations: 375.2 kB / 1.305 GB, free: 6.109 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8528, allocations: 8.031 kB / 1.305 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.853, allocations: 8.938 kB / 1.305 GB, free: 6.094 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.348e-05/0.8531, allocations: 172.4 kB / 1.305 GB, free: 5.887 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.8531, allocations: 4.375 kB / 1.305 GB, free: 5.883 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.8532, allocations: 16.02 kB / 1.305 GB, free: 5.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.8533, allocations: 53.67 kB / 1.305 GB, free: 5.809 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8533, allocations: 3.938 kB / 1.305 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.8533, allocations: 0 / 1.305 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.8533, allocations: 0 / 1.305 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.8534, allocations: 19.98 kB / 1.305 GB, free: 5.785 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.8536, allocations: 165.6 kB / 1.306 GB, free: 5.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.8537, allocations: 58.48 kB / 1.306 GB, free: 5.508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.8537, allocations: 20.8 kB / 1.306 GB, free: 5.484 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.8652, allocations: 3.198 MB / 1.309 GB, free: 2.191 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8652, allocations: 42.55 kB / 1.309 GB, free: 2.141 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/0.8653, allocations: 3.984 kB / 1.309 GB, free: 2.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0433/0.9086, allocations: 14.99 MB / 1.323 GB, free: 2.988 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.9086, allocations: 51.41 kB / 1.323 GB, free: 2.926 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.9087, allocations: 89.86 kB / 1.324 GB, free: 2.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.9087, allocations: 33.7 kB / 1.324 GB, free: 2.789 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.9088, allocations: 84.27 kB / 1.324 GB, free: 2.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.9088, allocations: 39.64 kB / 1.324 GB, free: 2.664 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.9089, allocations: 37.7 kB / 1.324 GB, free: 2.621 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.9089, allocations: 310.8 kB / 1.324 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.909, allocations: 23.98 kB / 1.324 GB, free: 2.285 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.9091, allocations: 36.98 kB / 1.324 GB, free: 2.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.9092, allocations: 58.42 kB / 1.324 GB, free: 2.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.9092, allocations: 0 / 1.324 GB, free: 2.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002209/0.9094, allocations: 105.7 kB / 1.324 GB, free: 2.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9095, allocations: 10.19 kB / 1.324 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.9095, allocations: 0 / 1.324 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.9095, allocations: 0 / 1.324 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.9096, allocations: 31.92 kB / 1.324 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.9096, allocations: 0 / 1.324 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.9097, allocations: 0 / 1.324 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.9097, allocations: 8 kB / 1.324 GB, free: 2.035 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 8.016e-05/0.9098, allocations: 117.8 kB / 1.324 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.9098, allocations: 11.95 kB / 1.324 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.9101, allocations: 129.4 kB / 1.325 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.9101, allocations: 4 kB / 1.325 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9101, allocations: 0 / 1.325 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.9102, allocations: 89.05 kB / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.9102, allocations: 0 / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.9104, allocations: 19.98 kB / 1.325 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.9104, allocations: 7.938 kB / 1.325 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002762/0.9107, allocations: 192.8 kB / 1.325 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003235/0.911, allocations: 298.7 kB / 1.325 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.767e-05/0.9111, allocations: 36.45 kB / 1.325 GB, free: 1.082 MB / 1.045 GB Notification: Performance of sorting global known variables: time 2.555e-05/0.9111, allocations: 79.28 kB / 1.325 GB, free: 1.004 MB / 1.045 GB Notification: Performance of Backend: time 2.154e-06/0.9112, allocations: 3.938 kB / 1.325 GB, free: 1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003675/0.9148, allocations: 390.8 kB / 1.326 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of SimCode: time 0.0006449/0.9155, allocations: 0.7721 MB / 1.326 GB, free: 15.8 MB / 1.061 GB Notification: Performance of Templates: time 0.03195/0.9474, allocations: 24.65 MB / 1.35 GB, free: 7.117 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches