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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005543/0.005543, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001397/0.001397, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.858/2.858, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.306, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001756/0.3078, allocations: 0.5848 MB / 1.208 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.3085, allocations: 322.8 kB / 1.208 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3085, allocations: 0 / 1.208 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.3085, allocations: 4 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-06/0.3085, allocations: 0 / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.309, allocations: 117.7 kB / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.3091, allocations: 0 / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3091, allocations: 8 kB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.3092, allocations: 0 / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.3092, allocations: 0 / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3092, allocations: 0 / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.3096, allocations: 275.6 kB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.3096, allocations: 4 kB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.3097, allocations: 0 / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3098, allocations: 83.84 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3098, allocations: 0 / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3099, allocations: 0 / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3099, allocations: 3.938 kB / 1.209 GB, free: 8.711 MB / 0.9669 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.0003112/0.3102, allocations: 337.8 kB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3102, allocations: 12.62 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.3103, allocations: 30.75 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3103, allocations: 8.922 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3105, allocations: 164.4 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.3105, allocations: 384 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.3105, allocations: 384 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.3106, allocations: 30.27 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3106, allocations: 3.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3106, allocations: 3.938 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3106, allocations: 3.938 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.3106, allocations: 8 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.3108, allocations: 149.7 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.718e-05/0.3108, allocations: 14.58 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.3109, allocations: 8.953 kB / 1.209 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/0.3115, allocations: 425.5 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3115, allocations: 34.56 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3115, allocations: 0 / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.3117, allocations: 41.58 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.3117, allocations: 51.41 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.526e-05/0.3117, allocations: 89.86 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3118, allocations: 25.7 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.3118, allocations: 84.14 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3118, allocations: 7.891 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.3118, allocations: 13.84 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.312, allocations: 310.8 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.312, allocations: 4 kB / 1.21 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.312, allocations: 4 kB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.312, allocations: 12.8 kB / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.312, allocations: 0 / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.66e-05/0.3121, allocations: 33.64 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3121, allocations: 12.08 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3121, allocations: 7.938 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3121, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.3122, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.3122, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-06/0.3122, allocations: 288 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.3122, allocations: 4 kB / 1.211 GB, free: 6.488 MB / 0.9669 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 6.635e-05/0.3123, allocations: 109.8 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.3123, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.3124, allocations: 56.62 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3124, allocations: 4 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3124, allocations: 4 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3124, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.589e-05/0.3125, allocations: 141.7 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3125, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.3126, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3126, allocations: 7.984 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3126, allocations: 3.938 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3126, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3126, allocations: 4.031 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.346e-05/0.3127, allocations: 57.14 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.3127, allocations: 84.98 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3127, allocations: 7.922 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.3127, allocations: 0 / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-06/0.3128, allocations: 0 / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.3128, allocations: 0 / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.3128, allocations: 79.31 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3128, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001957/0.313, allocations: 12 kB / 1.211 GB, free: 5.828 MB / 0.9669 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.0003942/0.3134, allocations: 0.6046 MB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.3135, allocations: 15.97 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3135, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-06/0.3135, allocations: 4 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.3136, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.3139, allocations: 118.5 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.3142, allocations: 0.669 MB / 1.212 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.3142, allocations: 4 kB / 1.212 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.3142, allocations: 15.56 kB / 1.212 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3142, allocations: 0 / 1.212 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.3312, allocations: 1.19 MB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.924, allocations: 11.81 kB / 1.214 GB, free: 3.211 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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