Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.002045/0.002045, allocations: 193.8 kB / 16.91 MB, free: 5.742 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.247/2.247, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.61 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2578, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003087/0.2609, allocations: 1.731 MB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.2631, allocations: 1.372 MB / 0.9528 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2632, allocations: 7.938 kB / 0.9528 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.2636, allocations: 75.7 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.2639, allocations: 67.59 kB / 0.9529 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.2647, allocations: 255.2 kB / 0.9532 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.2649, allocations: 191.1 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.265, allocations: 13.48 kB / 0.9534 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.2651, allocations: 75.64 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2653, allocations: 91.66 kB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.2653, allocations: 8 kB / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.2659, allocations: 335.4 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.266, allocations: 75.72 kB / 0.9539 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.635e-05/0.2661, allocations: 91.47 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2665, allocations: 279.4 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.2665, allocations: 0 / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2665, allocations: 0 / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.2665, allocations: 0 / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009818/0.2675, allocations: 0.5452 MB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2676, allocations: 12.03 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.2677, allocations: 20.66 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.268, allocations: 275.6 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.2682, allocations: 67.91 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2682, allocations: 4.375 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.2684, allocations: 101.7 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.2684, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2685, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2685, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.2687, allocations: 99.94 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.269, allocations: 257.3 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.2704, allocations: 298.4 kB / 0.9559 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.2706, allocations: 56.83 kB / 0.956 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.2707, allocations: 109 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2708, allocations: 38.5 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2708, allocations: 0 / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004941/0.2713, allocations: 201.3 kB / 0.9563 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2713, allocations: 63.33 kB / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.2716, allocations: 303.1 kB / 0.9566 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2717, allocations: 29.7 kB / 0.9567 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.2717, allocations: 112.6 kB / 0.9568 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.2718, allocations: 31.62 kB / 0.9568 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.2719, allocations: 53.69 kB / 0.9569 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.272, allocations: 338.8 kB / 0.9572 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.2722, allocations: 159.7 kB / 0.9573 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.2724, allocations: 159.7 kB / 0.9575 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.2728, allocations: 285.8 kB / 0.9578 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2728, allocations: 4 kB / 0.9578 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006052/0.2735, allocations: 404.8 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2735, allocations: 4 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.2735, allocations: 0 / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2735, allocations: 4 kB / 0.9582 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.2736, allocations: 11.98 kB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2736, allocations: 11.94 kB / 0.9582 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2738, allocations: 31.53 kB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.2738, allocations: 0 / 0.9582 GB, free: 312 kB / 0.7325 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001175/0.2739, allocations: 133.8 kB / 0.9583 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.274, allocations: 23.66 kB / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.2743, allocations: 167.5 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2744, allocations: 3.938 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2744, allocations: 0 / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2744, allocations: 0 / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.2746, allocations: 233.9 kB / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2746, allocations: 0 / 0.9588 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2747, allocations: 27.86 kB / 0.9588 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2747, allocations: 0 / 0.9588 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2747, allocations: 4 kB / 0.9588 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2747, allocations: 4 kB / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2748, allocations: 0 / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.2751, allocations: 172.8 kB / 0.9589 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.2752, allocations: 112.7 kB / 0.9591 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.2752, allocations: 4 kB / 0.9591 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.2753, allocations: 4 kB / 0.9591 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.2754, allocations: 11.98 kB / 0.9591 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2754, allocations: 0 / 0.9591 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001837/0.2756, allocations: 197.9 kB / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.543e-06/0.2756, allocations: 0 / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004105/0.276, allocations: 115.9 kB / 0.9594 GB, free: 15.01 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0005603/0.2766, allocations: 263 kB / 0.9596 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.2771, allocations: 363.2 kB / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2771, allocations: 0 / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2772, allocations: 63.91 kB / 0.96 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2776, allocations: 36.81 kB / 0.9601 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.2783, allocations: 481.7 kB / 0.9605 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.2787, allocations: 0.7318 MB / 0.9612 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.2787, allocations: 19.42 kB / 0.9613 GB, free: 13 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.2787, allocations: 0 / 0.9613 GB, free: 13 MB / 0.7481 GB Notification: Performance of Templates: time 0.005933/0.2847, allocations: 3.157 MB / 0.9643 GB, free: 9.855 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TMonotone,errMonotone,errNonMonotone,time