Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_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.001523/0.001523, 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.001871/0.001871, allocations: 194.9 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003428/0.003428, allocations: 74.97 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3021, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002728/0.3048, allocations: 1.439 MB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.3056, allocations: 392.5 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.3056, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.3057, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.454e-05/0.3057, allocations: 3.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.3061, allocations: 108.6 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.3062, allocations: 23.98 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.3062, allocations: 19.88 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.3062, allocations: 15.91 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.769e-05/0.3063, allocations: 15.92 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.3063, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.3067, allocations: 275.7 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.3067, allocations: 8 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.3067, allocations: 7.922 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3069, allocations: 107.8 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.3069, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3069, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.3069, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 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.0004124/0.3073, allocations: 371.7 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.3074, allocations: 12.03 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.3074, allocations: 30.75 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.3074, allocations: 0.9375 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3075, allocations: 168.3 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.3076, allocations: 384 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.3076, allocations: 384 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3077, allocations: 54.23 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3077, allocations: 7.875 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-06/0.3077, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3078, allocations: 4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.3079, allocations: 31.95 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.3082, allocations: 253 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3083, allocations: 46.44 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.3084, allocations: 24.91 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006676/0.3091, allocations: 461.4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3091, allocations: 38.5 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3091, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003264/0.3095, allocations: 81.64 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3095, allocations: 55.53 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.3096, allocations: 105.8 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3096, allocations: 25.7 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.3096, allocations: 88.08 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.3097, allocations: 3.906 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.3097, allocations: 13.72 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3098, allocations: 318.8 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.3099, allocations: 15.98 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.31, allocations: 23.92 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3102, allocations: 40.81 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3102, allocations: 3.938 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.3104, allocations: 61.67 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.3104, allocations: 12.03 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.3104, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.3104, allocations: 4 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.3105, allocations: 11.98 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.3105, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.3105, allocations: 11.89 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.3106, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 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 7.676e-05/0.3106, allocations: 113.8 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.3107, allocations: 3.938 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.3109, allocations: 77.19 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3109, allocations: 256 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.3109, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3109, allocations: 4 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3111, allocations: 165.6 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3111, allocations: 0 / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.3112, allocations: 7.984 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3112, allocations: 11.97 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.3112, allocations: 0 / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3112, allocations: 3.984 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3112, allocations: 0 / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3114, allocations: 167.4 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.3115, allocations: 81.02 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.3115, allocations: 8.031 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.3116, allocations: 3.984 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.3116, allocations: 8 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3116, allocations: 0 / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.3117, allocations: 83.27 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3117, allocations: 0 / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000216/0.3119, allocations: 12 kB / 1.069 GB, free: 8.277 MB / 0.8262 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.0006004/0.3125, allocations: 0.7163 MB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.3127, allocations: 39.95 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.3127, allocations: 0 / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.3128, allocations: 24.08 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.313, allocations: 1.562 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.3134, allocations: 143.1 kB / 1.07 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3137, allocations: 0.6768 MB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.3137, allocations: 7.938 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.3137, allocations: 19.44 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3137, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.544/1.857, allocations: 1.577 MB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.79, allocations: 10.73 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches