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.00724/0.00724, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001656/0.001656, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.158/2.158, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 75.88 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7729, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001658/0.7746, allocations: 0.5667 MB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006689/0.7753, allocations: 335.2 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.7754, allocations: 0 / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.7754, allocations: 0 / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.7754, allocations: 4 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.7759, allocations: 116.6 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.005e-05/0.7759, allocations: 3.359 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.7759, allocations: 0.75 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.776, allocations: 1.312 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.186e-05/0.776, allocations: 1.469 kB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.776, allocations: 0 / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.7765, allocations: 276.9 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.7765, allocations: 4 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.7765, allocations: 1.062 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.7767, allocations: 87.62 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7767, allocations: 0 / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7768, allocations: 0 / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7768, allocations: 0.9375 kB / 1.089 GB, free: 4.547 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002497/0.777, allocations: 331.6 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.7771, allocations: 10.22 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.7771, allocations: 30.75 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.7771, allocations: 6.734 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.7e-05/0.7772, allocations: 161 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.7772, allocations: 1.5 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.7772, allocations: 0.9844 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.892e-05/0.7773, allocations: 37.06 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7773, allocations: 3.938 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7774, allocations: 1.609 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.7774, allocations: 0 / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.7774, allocations: 2.281 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.7775, allocations: 148.9 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.7775, allocations: 16.53 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.7776, allocations: 10.14 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004149/0.778, allocations: 425.2 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.778, allocations: 48.23 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.778, allocations: 0 / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.7782, allocations: 36.45 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.7782, allocations: 52.41 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.541e-05/0.7782, allocations: 90.66 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.7782, allocations: 25.7 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.091e-05/0.7782, allocations: 81.2 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.7783, allocations: 0 / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.7783, allocations: 16.83 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.7783, allocations: 316.8 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.7784, allocations: 0 / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.7784, allocations: 1.375 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.7784, allocations: 13.16 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7784, allocations: 3.938 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.593e-05/0.7785, allocations: 32.7 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.7785, allocations: 5.375 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7785, allocations: 7.938 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.7785, allocations: 1.766 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.7785, allocations: 1.703 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.7786, allocations: 1.094 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-06/0.7786, allocations: 0 / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.7786, allocations: 1.812 kB / 1.091 GB, free: 2.449 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 4.679e-05/0.7786, allocations: 110.9 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.7787, allocations: 1.688 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.7787, allocations: 50.39 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7788, allocations: 0 / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7788, allocations: 1.031 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7788, allocations: 0.5156 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.595e-05/0.7788, allocations: 144.1 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7788, allocations: 1.703 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.7789, allocations: 1.562 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7789, allocations: 1.094 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.7789, allocations: 7.922 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7789, allocations: 9.609 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7789, allocations: 0 / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.77e-05/0.779, allocations: 65.69 kB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.779, allocations: 78.66 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.779, allocations: 5.5 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.779, allocations: 0 / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.779, allocations: 1.797 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.779, allocations: 0 / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.22e-05/0.7791, allocations: 80.34 kB / 1.091 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.7791, allocations: 0 / 1.091 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002087/0.7793, allocations: 12.77 kB / 1.091 GB, free: 1.828 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.0004958/0.7798, allocations: 0.6071 MB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.7799, allocations: 13.02 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7799, allocations: 0 / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-06/0.7799, allocations: 2.219 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.78, allocations: 5.141 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.7803, allocations: 113.3 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.7805, allocations: 0.6709 MB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.7806, allocations: 2.172 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.7806, allocations: 15.5 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7806, allocations: 0 / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.7974, allocations: 1.175 MB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.75, allocations: 11.06 kB / 1.094 GB, free: 16.01 MB / 0.8731 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