Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001948/0.001948, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6027/0.6042, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001627/0.6059, allocations: 0.6334 MB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006382/0.6066, allocations: 358.8 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.6066, allocations: 4 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.6066, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.248e-06/0.6066, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.607, allocations: 67.86 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.607, allocations: 3.984 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.607, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.476e-05/0.6071, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.982e-05/0.6071, allocations: 11.94 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.6071, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.6075, allocations: 267.6 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.266e-06/0.6075, allocations: 0 / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.6075, allocations: 3.938 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.6077, allocations: 91.84 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6077, allocations: 4 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6077, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6077, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 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.0002746/0.608, allocations: 341.4 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.608, allocations: 8.031 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.608, allocations: 30.75 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.6081, allocations: 4.922 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/0.6082, allocations: 168.4 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.6082, allocations: 384 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.6082, allocations: 384 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.6083, allocations: 30.27 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6083, allocations: 3.938 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.6083, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.6083, allocations: 8 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.6084, allocations: 3.938 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.6085, allocations: 145.7 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.6085, allocations: 22.59 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.6085, allocations: 4.859 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/0.609, allocations: 429.6 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.609, allocations: 30.56 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.609, allocations: 3.938 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.6092, allocations: 45.58 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.6092, allocations: 51.41 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.567e-05/0.6092, allocations: 89.86 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.6093, allocations: 29.64 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.6093, allocations: 84.27 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.6093, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.6093, allocations: 17.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.6094, allocations: 310.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.6095, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.6095, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.6095, allocations: 12.86 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6095, allocations: 4.062 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.625e-05/0.6096, allocations: 33.64 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6096, allocations: 9.25 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6096, allocations: 7.922 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6096, allocations: 3.984 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.6096, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.6097, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-06/0.6097, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.6097, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 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 5.883e-05/0.6097, allocations: 110.4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.6098, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.064e-05/0.6098, allocations: 52.69 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.6099, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6099, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6099, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.6099, allocations: 143.9 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.61, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.61, allocations: 4 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.61, allocations: 4.031 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.61, allocations: 3.938 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.61, allocations: 3.984 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.61, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.993e-05/0.6101, allocations: 57.14 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.6101, allocations: 77.11 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.6101, allocations: 7.875 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.6101, allocations: 4.031 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.6102, allocations: 11.92 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.6102, allocations: 4 kB / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.104e-05/0.6102, allocations: 75.28 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6102, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001828/0.6104, allocations: 12 kB / 1.021 GB, free: 14.43 MB / 0.7794 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.000367/0.6108, allocations: 0.6085 MB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.488e-05/0.6108, allocations: 7.938 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6108, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-06/0.6108, allocations: 7.938 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.611, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.6112, allocations: 112.3 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.6114, allocations: 0.6694 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.6115, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.6115, allocations: 7.438 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6115, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009894/0.6214, allocations: 1.055 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.6216, allocations: 213.6 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.182, allocations: 8 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y