Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7451 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.98 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.07171/0.3942, allocations: 75.64 MB / 1.142 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0381/0.4324, allocations: 26.08 MB / 1.168 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004632/0.4371, allocations: 127.3 kB / 1.168 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0203/0.4574, allocations: 12.75 MB / 1.18 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.4685, allocations: 3.775 MB / 1.184 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008031/0.4765, allocations: 3.048 MB / 1.187 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.03322/0.5097, allocations: 23.47 MB / 1.21 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004773/0.5145, allocations: 2.631 MB / 1.212 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006877/0.5214, allocations: 3.003 MB / 1.215 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003941/0.5254, allocations: 2.346 MB / 1.217 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.5266, allocations: 344 kB / 1.218 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006767/0.5333, allocations: 3.092 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.5353, allocations: 1.651 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004299/0.5397, allocations: 2.46 MB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.5509, allocations: 7.871 MB / 1.233 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.551, allocations: 8 kB / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.815e-06/0.551, allocations: 0 / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003644/0.5514, allocations: 0 / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01439/0.5658, allocations: 5.522 MB / 1.238 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5658, allocations: 11.97 kB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009147/0.575, allocations: 1.516 MB / 1.239 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.5885, allocations: 6.773 MB / 1.246 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008929/0.5894, allocations: 251.5 kB / 1.246 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007263/0.5901, allocations: 176 kB / 1.246 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006558/0.5967, allocations: 2.554 MB / 1.249 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/0.5968, allocations: 11.94 kB / 1.249 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/0.597, allocations: 56 kB / 1.249 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.5971, allocations: 43.94 kB / 1.249 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5769/1.174, allocations: 2.032 MB / 1.251 GB, free: 172.4 MB / 0.9981 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.02118/1.195, allocations: 10.8 MB / 1.262 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00545/1.201, allocations: 1.705 MB / 1.263 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/1.203, allocations: 0.7689 MB / 1.264 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007593/1.211, allocations: 4 MB / 1.268 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.211, allocations: 40.66 kB / 1.268 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=68): time 2.915e-06/1.211, allocations: 0 / 1.268 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=68): time 0.008188/1.219, allocations: 2.561 MB / 1.27 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/1.219, allocations: 59.41 kB / 1.27 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.229, allocations: 5.223 MB / 1.276 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004358/1.229, allocations: 54.14 kB / 1.276 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.231, allocations: 1.899 MB / 1.277 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/1.232, allocations: 260.7 kB / 1.278 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.233, allocations: 0.7218 MB / 1.278 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/1.233, allocations: 303.3 kB / 1.279 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00424/1.237, allocations: 2.213 MB / 1.281 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/1.242, allocations: 3.071 MB / 1.284 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007723/1.249, allocations: 4.891 MB / 1.289 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-05/1.25, allocations: 13.97 kB / 1.289 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.0107/1.26, allocations: 5.692 MB / 1.294 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/1.26, allocations: 13.75 kB / 1.294 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/1.26, allocations: 20.62 kB / 1.294 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.612e-05/1.26, allocations: 33 kB / 1.294 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/1.264, allocations: 0.6525 MB / 1.295 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.266, allocations: 2.383 MB / 1.297 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/1.271, allocations: 425.9 kB / 1.298 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007493/1.272, allocations: 163.8 kB / 1.298 GB, free: 150 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007968/1.28, allocations: 2.984 MB / 1.301 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004365/1.284, allocations: 2.85 MB / 1.304 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006478/1.291, allocations: 4.45 MB / 1.308 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.109e-05/1.291, allocations: 7.906 kB / 1.308 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=407) (initialization_lambda0): time 0.008807/1.3, allocations: 5.234 MB / 1.313 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.3, allocations: 17.5 kB / 1.313 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/1.3, allocations: 23.28 kB / 1.313 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/1.3, allocations: 33.3 kB / 1.313 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/1.302, allocations: 0.6629 MB / 1.314 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.102e-05/1.303, allocations: 45.52 kB / 1.314 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.306, allocations: 333.9 kB / 1.314 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/1.306, allocations: 160 kB / 1.314 GB, free: 140 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (282): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006546/1.307, allocations: 320.5 kB / 1.315 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.308, allocations: 410.5 kB / 1.315 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006055/1.314, allocations: 2.35 MB / 1.317 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.314, allocations: 12 kB / 1.317 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.314, allocations: 0 / 1.317 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.314, allocations: 7.984 kB / 1.317 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00982/1.324, allocations: 4.884 MB / 1.322 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.324, allocations: 0 / 1.322 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.326, allocations: 291 kB / 1.322 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/1.326, allocations: 105.6 kB / 1.322 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.605e-05/1.326, allocations: 36.78 kB / 1.322 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009836/1.327, allocations: 2.154 MB / 1.325 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.327, allocations: 4.031 kB / 1.325 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/1.332, allocations: 2.257 MB / 1.327 GB, free: 127 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/1.334, allocations: 0.7099 MB / 1.327 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/1.336, allocations: 19.98 kB / 1.327 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/1.339, allocations: 152.8 kB / 1.328 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.339, allocations: 68.8 kB / 1.328 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.339, allocations: 55.94 kB / 1.328 GB, free: 126 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006175/1.345, allocations: 3.512 MB / 1.331 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.345, allocations: 0 / 1.331 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009078/1.354, allocations: 1.861 MB / 1.333 GB, free: 120.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (86): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002772/1.357, allocations: 0.8177 MB / 1.334 GB, free: 120 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.369, allocations: 6.285 MB / 1.34 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.369, allocations: 0 / 1.34 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/1.372, allocations: 0.8895 MB / 1.341 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/1.382, allocations: 2.218 MB / 1.343 GB, free: 110.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.397, allocations: 7.37 MB / 1.35 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/1.4, allocations: 2.559 MB / 1.353 GB, free: 100.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005736/1.406, allocations: 1.146 MB / 1.354 GB, free: 99.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/1.407, allocations: 331.2 kB / 1.354 GB, free: 99.29 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.407, allocations: 0 / 1.354 GB, free: 99.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.1303/1.537, allocations: 92.95 MB / 1.445 GB, free: 7.398 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches