Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007452/0.007458, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001715/0.001715, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.355/2.355, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.58 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2983, allocations: 140.4 MB / 1.087 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002569/0.301, allocations: 1.435 MB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006755/0.3017, allocations: 379.6 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.3017, allocations: 4 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.3018, allocations: 3.938 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.3018, allocations: 7.922 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.3023, allocations: 115.7 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.025e-05/0.3024, allocations: 23.88 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.3025, allocations: 11.94 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.3026, allocations: 11.98 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.3026, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3026, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.303, allocations: 279.6 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.303, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.3031, allocations: 11.94 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3033, allocations: 107.8 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3033, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3033, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3033, allocations: 0 / 1.09 GB, free: 15.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004868/0.3038, allocations: 370.3 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3039, allocations: 8.031 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.3039, allocations: 34.69 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.304, allocations: 4.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3041, allocations: 165.1 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3041, allocations: 384 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.3042, allocations: 8.375 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3043, allocations: 58.17 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3044, allocations: 7.875 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3044, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3044, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3046, allocations: 35.95 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.3049, allocations: 252.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.305, allocations: 42.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.3051, allocations: 28.91 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/0.3058, allocations: 461.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.3059, allocations: 34.56 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3059, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000359/0.3062, allocations: 81.58 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.3063, allocations: 51.41 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.3063, allocations: 114 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3064, allocations: 29.7 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.3064, allocations: 85.56 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.3064, allocations: 3.906 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.3065, allocations: 13.72 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3066, allocations: 318.8 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3067, allocations: 15.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.3067, allocations: 19.98 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3069, allocations: 32.83 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3069, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.3071, allocations: 73.59 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3071, allocations: 8.094 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3072, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3072, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.3073, allocations: 11.98 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3073, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.3073, allocations: 11.89 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3073, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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.768e-05/0.3074, allocations: 109.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3075, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.3077, allocations: 77.12 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3077, allocations: 7.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3077, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3077, allocations: 3.984 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3079, allocations: 165.6 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3079, allocations: 0 / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.308, allocations: 15.98 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.308, allocations: 0 / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.308, allocations: 4.031 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.308, allocations: 0 / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.308, allocations: 3.938 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.3083, allocations: 163.5 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.3083, allocations: 81.02 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3083, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.3084, allocations: 12.27 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.3085, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3085, allocations: 7.938 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.3085, allocations: 91.27 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3085, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002303/0.3088, allocations: 12 kB / 1.093 GB, free: 12.02 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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.0005502/0.3093, allocations: 0.7007 MB / 1.093 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.3095, allocations: 39.95 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3096, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.3097, allocations: 28.02 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.31, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.3104, allocations: 143.2 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3106, allocations: 0.6768 MB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3107, allocations: 3.984 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.3107, allocations: 11.44 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3107, allocations: 0 / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.3277, allocations: 1.606 MB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.217, allocations: 4 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches