Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.007838/0.007837, allocations: 103.4 kB / 15.73 MB, free: 6.445 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.001761/0.001761, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.442/2.442, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.03 kB / 0.9504 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.271, allocations: 140.4 MB / 1.088 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001787/0.2728, allocations: 0.5805 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006452/0.2735, allocations: 323.1 kB / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.2735, allocations: 0 / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.2736, allocations: 0 / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.2736, allocations: 0 / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.2741, allocations: 112.3 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.2742, allocations: 0 / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.2742, allocations: 7.984 kB / 1.089 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.2743, allocations: 0 / 1.089 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.73e-05/0.2743, allocations: 3.984 kB / 1.089 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2743, allocations: 0 / 1.089 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.2747, allocations: 279.6 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2748, allocations: 0 / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.2748, allocations: 0 / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.275, allocations: 87.8 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.275, allocations: 0 / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.275, allocations: 4 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.275, allocations: 0 / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003852/0.2754, allocations: 335.6 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2755, allocations: 12.03 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.2755, allocations: 30.75 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.2756, allocations: 0.9375 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.2757, allocations: 164.4 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2757, allocations: 384 / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.2757, allocations: 384 / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.2758, allocations: 42.14 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2758, allocations: 3.938 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.2758, allocations: 0 / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2758, allocations: 0 / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.2759, allocations: 4 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.276, allocations: 149.7 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.2761, allocations: 14.58 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.2761, allocations: 8.953 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/0.2767, allocations: 425.5 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.2767, allocations: 34.56 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2767, allocations: 3.938 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001663/0.2769, allocations: 33.64 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2769, allocations: 55.53 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.277, allocations: 93.86 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.277, allocations: 29.69 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.277, allocations: 84.14 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.2771, allocations: 3.984 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.2771, allocations: 13.66 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2772, allocations: 310.8 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.2772, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.2772, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.2773, allocations: 16.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2773, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.556e-05/0.2774, allocations: 33.69 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2774, allocations: 5.562 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2774, allocations: 3.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2774, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.2775, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2775, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.2775, allocations: 4.094 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.2775, allocations: 0 / 1.091 GB, free: 14.48 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 (1): * Single equations (assignments): 1 * 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.114e-05/0.2776, allocations: 109.8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.2776, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2777, allocations: 51.5 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2778, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2778, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2778, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2779, allocations: 145.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2779, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.2779, allocations: 3.984 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2779, allocations: 4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.2779, allocations: 3.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.278, allocations: 3.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.278, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.2781, allocations: 68.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.2781, allocations: 77.11 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2781, allocations: 7.922 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.2781, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.2782, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.2782, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.2782, allocations: 75.28 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.2782, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002038/0.2784, allocations: 12 kB / 1.091 GB, free: 13.82 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 (1): * Single equations (assignments): 1 * 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.0004257/0.2788, allocations: 0.6085 MB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.141e-05/0.2789, allocations: 7.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2789, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.279, allocations: 8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.2791, allocations: 4.094 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.2795, allocations: 114.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.2797, allocations: 0.669 MB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.2797, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.2798, allocations: 7.438 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.2798, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.2962, allocations: 1.192 MB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/7.793, allocations: 13.11 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches