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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001258/0.001258, allocations: 117.7 kB / 16.37 MB, free: 6 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.001232/0.001232, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.41 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002829/0.3035, allocations: 1.681 MB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3055, allocations: 1.368 MB / 0.9541 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-05/0.3056, allocations: 7.938 kB / 0.9541 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.3059, allocations: 79.58 kB / 0.9542 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.3061, allocations: 75.52 kB / 0.9543 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.3068, allocations: 279.2 kB / 0.9545 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.307, allocations: 183.2 kB / 0.9547 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.307, allocations: 9.484 kB / 0.9547 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.3071, allocations: 83.62 kB / 0.9548 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3073, allocations: 83.61 kB / 0.9549 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3073, allocations: 12 kB / 0.9549 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.3078, allocations: 343.4 kB / 0.9552 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.3079, allocations: 71.78 kB / 0.9553 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.308, allocations: 87.42 kB / 0.9554 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.3085, allocations: 398.9 kB / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3085, allocations: 0 / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3085, allocations: 0 / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3085, allocations: 0 / 0.9557 GB, free: 3.312 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.0008826/0.3094, allocations: 0.553 MB / 0.9563 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3095, allocations: 8.031 kB / 0.9563 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.3095, allocations: 20.66 kB / 0.9563 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.31, allocations: 287.6 kB / 0.9566 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3101, allocations: 55.97 kB / 0.9566 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3101, allocations: 8.375 kB / 0.9566 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.3103, allocations: 93.77 kB / 0.9567 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3103, allocations: 3.938 kB / 0.9567 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3103, allocations: 0 / 0.9567 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3104, allocations: 4 kB / 0.9567 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.3106, allocations: 99.88 kB / 0.9568 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.3109, allocations: 257.3 kB / 0.9571 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.3123, allocations: 294.4 kB / 0.9574 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.3125, allocations: 60.83 kB / 0.9574 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.3126, allocations: 97.09 kB / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3126, allocations: 42.5 kB / 0.9575 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3126, allocations: 3.938 kB / 0.9576 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004919/0.3131, allocations: 209.3 kB / 0.9577 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.3132, allocations: 55.39 kB / 0.9578 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3135, allocations: 303.1 kB / 0.9581 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3135, allocations: 29.7 kB / 0.9581 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.3136, allocations: 116.6 kB / 0.9582 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.3136, allocations: 23.64 kB / 0.9583 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.3137, allocations: 61.69 kB / 0.9583 GB, free: 444 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3138, allocations: 338.8 kB / 0.9586 GB, free: 96 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3141, allocations: 151.9 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.3143, allocations: 151.9 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.3147, allocations: 297.6 kB / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3147, allocations: 0 / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005119/0.3152, allocations: 396.9 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3152, allocations: 8 kB / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3152, allocations: 0 / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3152, allocations: 4 kB / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.3153, allocations: 15.98 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3154, allocations: 0 / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3155, allocations: 31.53 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3155, allocations: 4 kB / 0.9596 GB, free: 15.05 MB / 0.7481 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.0001065/0.3156, allocations: 131.8 kB / 0.9598 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.3157, allocations: 23.66 kB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.316, allocations: 175.3 kB / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.316, allocations: 4 kB / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.316, allocations: 0 / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.316, allocations: 0 / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3162, allocations: 237.6 kB / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3163, allocations: 0 / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.3164, allocations: 23.92 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3164, allocations: 0 / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3164, allocations: 0 / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3164, allocations: 0 / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3164, allocations: 7.938 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.3167, allocations: 185 kB / 0.9604 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.3168, allocations: 112.7 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3168, allocations: 3.938 kB / 0.9605 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.3169, allocations: 4 kB / 0.9605 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.317, allocations: 15.97 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.317, allocations: 0 / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001678/0.3172, allocations: 197.9 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3172, allocations: 0 / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004015/0.3176, allocations: 115.9 kB / 0.9608 GB, free: 13.73 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.0004702/0.3181, allocations: 255.1 kB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.3186, allocations: 359.2 kB / 0.9614 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3186, allocations: 4 kB / 0.9614 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3187, allocations: 51.97 kB / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.319, allocations: 40.41 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.3196, allocations: 400 kB / 0.9619 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3199, allocations: 0.7357 MB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.995e-05/0.32, allocations: 29.36 kB / 0.9626 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.3201, allocations: 15.44 kB / 0.9627 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3201, allocations: 0 / 0.9627 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.006408/0.3265, allocations: 3.144 MB / 0.9657 GB, free: 8.688 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 -s cvode -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) Reference file matches