Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_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.00702/0.00702, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001259/0.001259, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.6/2.6, allocations: 469.4 MB / 0.7421 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.88 kB / 1.064 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7944, allocations: 159.1 MB / 1.22 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001586/0.796, allocations: 0.578 MB / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006631/0.7967, allocations: 332.7 kB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.796e-05/0.7968, allocations: 0 / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.7968, allocations: 0 / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.7968, allocations: 0 / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.7973, allocations: 107.7 kB / 1.221 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.7973, allocations: 8 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.7974, allocations: 0 / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.7974, allocations: 0 / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.844e-05/0.7974, allocations: 7.969 kB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.7974, allocations: 0 / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.7978, allocations: 275.7 kB / 1.221 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.7979, allocations: 0 / 1.221 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.7979, allocations: 0 / 1.221 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.7981, allocations: 83.52 kB / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7981, allocations: 0 / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7981, allocations: 3.938 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.7981, allocations: 8 kB / 1.221 GB, free: 0.8516 MB / 0.9356 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.0002874/0.7984, allocations: 341.9 kB / 1.221 GB, free: 480 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7984, allocations: 8.625 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.7985, allocations: 34.69 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.7985, allocations: 0.9375 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.7986, allocations: 164.4 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.7986, allocations: 4.375 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.7986, allocations: 4.375 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.7987, allocations: 26.27 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7987, allocations: 7.938 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.7987, allocations: 0 / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.7988, allocations: 0 / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.7988, allocations: 4 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.7989, allocations: 157.6 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.487e-05/0.799, allocations: 22.55 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.799, allocations: 4.859 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.7994, allocations: 429.5 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.7995, allocations: 30.56 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.7995, allocations: 0 / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.7996, allocations: 33.64 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.7997, allocations: 59.34 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.718e-05/0.7997, allocations: 97.97 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.7997, allocations: 25.7 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.7998, allocations: 84.14 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.7998, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.7998, allocations: 9.719 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.8, allocations: 314.8 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-06/0.8, allocations: 0 / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.8, allocations: 0 / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.8, allocations: 12.92 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.8, allocations: 3.938 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.568e-05/0.8001, allocations: 41.62 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8001, allocations: 9.562 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8001, allocations: 3.938 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.8001, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.75e-05/0.8002, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8002, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.8002, allocations: 4 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.8002, allocations: 4.031 kB / 1.223 GB, free: 14.62 MB / 0.9512 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 9.623e-05/0.8003, allocations: 106.4 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.8004, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-05/0.8004, allocations: 48.75 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8005, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8005, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.8005, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.658e-05/0.8006, allocations: 145.7 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8006, allocations: 4.031 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.8006, allocations: 11.92 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.8006, allocations: 0 / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.8006, allocations: 3.938 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8006, allocations: 0 / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8006, allocations: 0 / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.157e-05/0.8007, allocations: 57.14 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.8007, allocations: 77.11 kB / 1.223 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.8008, allocations: 15.95 kB / 1.223 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.8008, allocations: 3.938 kB / 1.223 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.8008, allocations: 0 / 1.223 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.8008, allocations: 7.984 kB / 1.223 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.8008, allocations: 75.28 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8008, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001932/0.801, allocations: 8 kB / 1.224 GB, free: 13.97 MB / 0.9512 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.0003679/0.8014, allocations: 0.6123 MB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.177e-05/0.8015, allocations: 4 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8015, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-06/0.8015, allocations: 4 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.8016, allocations: 7.922 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.8019, allocations: 114.3 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.8021, allocations: 0.6729 MB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.8022, allocations: 4 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.8022, allocations: 7.438 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8022, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.8182, allocations: 1.189 MB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.46, allocations: 16.95 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches