Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003059/0.003059, allocations: 213.8 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.7 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.831/2.831, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 60.72 kB / 1.117 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3508, allocations: 169.9 MB / 1.283 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002101/0.3529, allocations: 0.601 MB / 1.283 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.3536, allocations: 291.4 kB / 1.283 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.3536, allocations: 0 / 1.283 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.3536, allocations: 0 / 1.283 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.3537, allocations: 0 / 1.283 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.3541, allocations: 113.8 kB / 1.284 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.597e-05/0.3542, allocations: 0 / 1.284 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.3542, allocations: 4 kB / 1.284 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.3542, allocations: 0 / 1.284 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.3542, allocations: 7.984 kB / 1.284 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3543, allocations: 0 / 1.284 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.3547, allocations: 259.6 kB / 1.284 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.3547, allocations: 0 / 1.284 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.3547, allocations: 0 / 1.284 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3549, allocations: 91.95 kB / 1.284 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3549, allocations: 4 kB / 1.284 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3549, allocations: 0 / 1.284 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3549, allocations: 0 / 1.284 GB, free: 2.816 MB / 0.9825 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.000317/0.3552, allocations: 254.2 kB / 1.284 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3553, allocations: 8.031 kB / 1.284 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.3553, allocations: 42.69 kB / 1.284 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.3554, allocations: 4.938 kB / 1.284 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.181e-05/0.3554, allocations: 106.5 kB / 1.284 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3554, allocations: 384 / 1.284 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.3555, allocations: 384 / 1.284 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.3555, allocations: 30.27 kB / 1.284 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3556, allocations: 7.922 kB / 1.284 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.3556, allocations: 0 / 1.284 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3556, allocations: 0 / 1.284 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.3556, allocations: 0 / 1.284 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.3557, allocations: 124.8 kB / 1.284 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.3558, allocations: 22.61 kB / 1.284 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.3558, allocations: 4.859 kB / 1.284 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.3562, allocations: 43.94 kB / 1.285 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3562, allocations: 34.56 kB / 1.285 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.3562, allocations: 0 / 1.285 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.3564, allocations: 37.64 kB / 1.285 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3564, allocations: 59.34 kB / 1.285 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.572e-05/0.3565, allocations: 89.86 kB / 1.285 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3565, allocations: 33.64 kB / 1.285 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.3565, allocations: 80.14 kB / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3565, allocations: 3.953 kB / 1.285 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3566, allocations: 13.7 kB / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3567, allocations: 314.8 kB / 1.285 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.3567, allocations: 0 / 1.285 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-06/0.3567, allocations: 0 / 1.285 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.3568, allocations: 17.05 kB / 1.285 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3568, allocations: 0 / 1.285 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.363e-05/0.3568, allocations: 29.7 kB / 1.285 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3569, allocations: 8 kB / 1.285 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3569, allocations: 7.875 kB / 1.285 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3569, allocations: 0 / 1.285 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.3569, allocations: 3.984 kB / 1.285 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3569, allocations: 4 kB / 1.285 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-06/0.3569, allocations: 0 / 1.285 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3569, allocations: 0 / 1.285 GB, free: 1.262 MB / 0.9825 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 7.638e-05/0.357, allocations: 111 kB / 1.285 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.357, allocations: 0 / 1.285 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.3571, allocations: 48.62 kB / 1.285 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3571, allocations: 0 / 1.285 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3571, allocations: 0 / 1.285 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3571, allocations: 0 / 1.285 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/0.3572, allocations: 120.8 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3572, allocations: 0 / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.3572, allocations: 3.938 kB / 1.286 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3573, allocations: 8.031 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3573, allocations: 7.875 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3573, allocations: 0 / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3573, allocations: 4 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.018e-05/0.3574, allocations: 61.11 kB / 1.286 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.3574, allocations: 4 kB / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3574, allocations: 3.938 kB / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.3574, allocations: 0 / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.3574, allocations: 0 / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3574, allocations: 0 / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.3574, allocations: 79.22 kB / 1.286 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3574, allocations: 8.031 kB / 1.286 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002137/0.3576, allocations: 15.92 kB / 1.286 GB, free: 0.7227 MB / 0.9825 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.0004514/0.3581, allocations: 0.6046 MB / 1.286 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.797e-05/0.3582, allocations: 8 kB / 1.286 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3582, allocations: 0 / 1.286 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/0.3582, allocations: 0 / 1.286 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.3583, allocations: 5.719 kB / 1.286 GB, free: 76 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.3586, allocations: 118.6 kB / 1.286 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.3587, allocations: 55.36 kB / 1.286 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.3587, allocations: 0 / 1.286 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.3587, allocations: 7.438 kB / 1.286 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3587, allocations: 0 / 1.286 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.39, allocations: 1.684 MB / 1.288 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.24, allocations: 13.56 kB / 1.288 GB, free: 14.27 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.924217983148992]