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.001577/0.001577, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001365/0.001364, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.525/2.525, allocations: 469.8 MB / 0.7421 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 72.64 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2521, allocations: 159.2 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002361/0.2545, allocations: 1.508 MB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006368/0.2551, allocations: 382.8 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.2551, allocations: 0 / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.2552, allocations: 0 / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.2552, allocations: 7.938 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.2556, allocations: 108.8 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.2557, allocations: 15.94 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.2558, allocations: 11.98 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.2558, allocations: 7.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.2558, allocations: 15.92 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.2558, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.2562, allocations: 279.7 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.2562, allocations: 7.984 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.2562, allocations: 7.922 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.2564, allocations: 115.8 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2564, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2564, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2564, allocations: 0 / 1.066 GB, free: 12.02 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.0004459/0.2569, allocations: 363.7 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2569, allocations: 8.031 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.257, allocations: 30.75 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.257, allocations: 4.938 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2571, allocations: 172.2 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2572, allocations: 4.375 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2572, allocations: 4.375 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.2573, allocations: 50.23 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2574, allocations: 3.938 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.2574, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2574, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2575, allocations: 31.97 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.2578, allocations: 256.9 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.258, allocations: 42.44 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.258, allocations: 32.88 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/0.2587, allocations: 457.5 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2587, allocations: 34.55 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2587, allocations: 0 / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003267/0.2591, allocations: 85.59 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.2591, allocations: 51.41 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.2592, allocations: 109.8 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2592, allocations: 25.7 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.2593, allocations: 96.06 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.2593, allocations: 7.891 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.2593, allocations: 9.719 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2594, allocations: 323 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.2595, allocations: 11.98 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.2596, allocations: 19.97 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.2597, allocations: 36.83 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2597, allocations: 7.875 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.2599, allocations: 73.66 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2599, allocations: 9.875 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.26, allocations: 0 / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.26, allocations: 0 / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.26, allocations: 11.98 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2601, allocations: 4 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.2601, allocations: 3.906 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2601, allocations: 4 kB / 1.068 GB, free: 9.359 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 6.83e-05/0.2602, allocations: 113.8 kB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.2602, allocations: 4 kB / 1.068 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.2604, allocations: 73.17 kB / 1.068 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2605, allocations: 4 kB / 1.068 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2605, allocations: 3.938 kB / 1.068 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.2605, allocations: 0 / 1.068 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2606, allocations: 165.6 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2606, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.2607, allocations: 11.94 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2607, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.2607, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2607, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2607, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.261, allocations: 167.5 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.261, allocations: 89 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.261, allocations: 0 / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.2611, allocations: 4 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.2611, allocations: 7.984 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2612, allocations: 0 / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.2612, allocations: 87.53 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.704e-06/0.2612, allocations: 0 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002104/0.2614, allocations: 15.94 kB / 1.069 GB, free: 8.527 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.0005394/0.262, allocations: 0.7085 MB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.2622, allocations: 44 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2622, allocations: 0 / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.2623, allocations: 27.91 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2625, allocations: 1.125 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.2629, allocations: 151.2 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2631, allocations: 0.6808 MB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.2632, allocations: 3.938 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.2632, allocations: 15.44 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2632, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.295/1.558, allocations: 1.444 MB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.04341/1.602, allocations: 197.2 kB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/4.346, allocations: 0 / 1.072 GB, free: 5.227 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