Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.00489/0.00489, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001171/0.001171, allocations: 191.2 kB / 16.67 MB, free: 5.969 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.247/1.247, 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 10.1.1-maint.10.0.x/package.mo): time 2.243/2.243, allocations: 437.1 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 59.91 kB / 1.018 GB, free: 9.789 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.5647, allocations: 151.6 MB / 1.166 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001364/0.5661, allocations: 0.5922 MB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005816/0.5667, allocations: 352.6 kB / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.5667, allocations: 0 / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.5667, allocations: 0 / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 1.41e-05/0.5668, allocations: 0 / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.5671, allocations: 113.4 kB / 1.167 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.379e-05/0.5672, allocations: 11.98 kB / 1.167 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.5672, allocations: 8 kB / 1.167 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.5673, allocations: 3.984 kB / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.5673, allocations: 4 kB / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.5673, allocations: 0 / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.5677, allocations: 279.6 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.5677, allocations: 3.938 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.5677, allocations: 8 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.5679, allocations: 95.42 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.5679, allocations: 0 / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5679, allocations: 0 / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5679, allocations: 0 / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003192/0.5682, allocations: 347.2 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5682, allocations: 8.922 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.5683, allocations: 38.75 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.5683, allocations: 0.9375 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5684, allocations: 164.4 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.5685, allocations: 384 / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.5685, allocations: 8.312 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.376e-05/0.5686, allocations: 30.27 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5686, allocations: 7.938 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.5686, allocations: 4 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.5686, allocations: 0 / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.5686, allocations: 4 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.5688, allocations: 153.7 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.5688, allocations: 22.58 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.5688, allocations: 15.25 kB / 1.168 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.5695, allocations: 457.5 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.5695, allocations: 34.56 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5695, allocations: 7.938 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004239/0.57, allocations: 254.3 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.57, allocations: 55.39 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.5701, allocations: 93.86 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5701, allocations: 29.7 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.5701, allocations: 80.14 kB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.5701, allocations: 16.19 kB / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.5702, allocations: 21.7 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5703, allocations: 310.8 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.5703, allocations: 11.94 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.5703, allocations: 17.75 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.5704, allocations: 33.64 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.5704, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.735e-05/0.5705, allocations: 45.7 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5705, allocations: 11.88 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.5705, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5705, allocations: 4 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-05/0.5706, allocations: 7.984 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5706, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.5706, allocations: 8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.5706, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.65e-05/0.5707, allocations: 109.9 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.5707, allocations: 7.938 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.5708, allocations: 61.11 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.5709, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5709, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.5709, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.571, allocations: 149.7 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.571, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.571, allocations: 8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.571, allocations: 7.938 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.571, allocations: 4 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5711, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.5711, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.5712, allocations: 73.11 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.5712, allocations: 89.03 kB / 1.17 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.5712, allocations: 4 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.5713, allocations: 8 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.5713, allocations: 0 / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5713, allocations: 11.94 kB / 1.17 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.5713, allocations: 75.28 kB / 1.17 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.5714, allocations: 0 / 1.17 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001846/0.5715, allocations: 27.92 kB / 1.17 GB, free: 14.84 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004463/0.572, allocations: 0.6476 MB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.814e-05/0.5721, allocations: 19.92 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5721, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.5721, allocations: 12 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.5722, allocations: 1.125 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.5731, allocations: 1.124 MB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.5733, allocations: 0.6807 MB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.5733, allocations: 0 / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.5734, allocations: 11.44 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.5734, allocations: 0 / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.135/3.708, allocations: 1.745 MB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.481/13.19, allocations: 20.17 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches