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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.521/2.521, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 67.89 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7953, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001503/0.7968, allocations: 0.5953 MB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000538/0.7973, allocations: 327.3 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.7973, allocations: 0 / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.7974, allocations: 0 / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-06/0.7974, allocations: 3.938 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.7978, allocations: 114.5 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.7978, allocations: 1.594 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.7978, allocations: 1.641 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.047e-05/0.7979, allocations: 0.7188 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.828e-05/0.7979, allocations: 1.531 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-06/0.7979, allocations: 0 / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.7983, allocations: 277.2 kB / 1.273 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.7983, allocations: 3.984 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.7983, allocations: 4.719 kB / 1.273 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.7985, allocations: 88.28 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7985, allocations: 0 / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7985, allocations: 0.5938 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.7985, allocations: 0 / 1.273 GB, free: 7.016 MB / 0.9981 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.0002129/0.7987, allocations: 330.2 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7988, allocations: 14.77 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.394e-05/0.7988, allocations: 31.5 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.7988, allocations: 5.906 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.181e-05/0.7989, allocations: 160.9 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.7989, allocations: 4.375 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-06/0.7989, allocations: 1.156 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.752e-05/0.799, allocations: 38.92 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.799, allocations: 3.938 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.799, allocations: 0.7812 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.799, allocations: 0 / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.526e-05/0.799, allocations: 1.406 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.635e-05/0.7991, allocations: 148.4 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.829e-05/0.7991, allocations: 20.7 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.209e-05/0.7991, allocations: 10.27 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/0.7995, allocations: 426.5 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.7995, allocations: 31.56 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7995, allocations: 4 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.7996, allocations: 41 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.7996, allocations: 51.41 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.482e-05/0.7996, allocations: 90.64 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.7996, allocations: 25.7 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-06/0.7996, allocations: 80.14 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.7997, allocations: 6.188 kB / 1.274 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.7997, allocations: 12.22 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.7997, allocations: 319.7 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.7997, allocations: 0.7188 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.7997, allocations: 6.203 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.7997, allocations: 7.422 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7997, allocations: 0 / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.157e-05/0.7998, allocations: 32.88 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.7998, allocations: 5.734 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.7998, allocations: 4.719 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7998, allocations: 4.75 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.274e-05/0.7999, allocations: 2.344 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.7999, allocations: 8.484 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.7999, allocations: 0.9062 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.7999, allocations: 0.9375 kB / 1.275 GB, free: 4.906 MB / 0.9981 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 3.253e-05/0.7999, allocations: 112.7 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.7999, allocations: 0.8438 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.8, allocations: 49.45 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.8, allocations: 0 / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8, allocations: 0.8438 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8, allocations: 0 / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.883e-05/0.8, allocations: 143.3 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8, allocations: 1.125 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.8001, allocations: 1.812 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8001, allocations: 0.8438 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.8001, allocations: 7.922 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8001, allocations: 2 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8001, allocations: 4 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.504e-05/0.8001, allocations: 67.31 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.8001, allocations: 81.06 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.8001, allocations: 4.875 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.8001, allocations: 4.969 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.8002, allocations: 0 / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.8002, allocations: 1.531 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.718e-06/0.8002, allocations: 79.31 kB / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.8002, allocations: 0.9062 kB / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001844/0.8003, allocations: 16.28 kB / 1.275 GB, free: 4.281 MB / 0.9981 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.000244/0.8006, allocations: 0.6129 MB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.223e-05/0.8007, allocations: 12.28 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8007, allocations: 0 / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-06/0.8007, allocations: 1.938 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.8008, allocations: 6.391 kB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.801, allocations: 117.5 kB / 1.276 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.8011, allocations: 0.6721 MB / 1.277 GB, free: 18.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.8012, allocations: 0.9688 kB / 1.277 GB, free: 18.83 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.8012, allocations: 8.562 kB / 1.277 GB, free: 18.82 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.8012, allocations: 8.062 kB / 1.277 GB, free: 18.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.8225, allocations: 1.154 MB / 1.278 GB, free: 18.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.773, allocations: 20.08 kB / 1.278 GB, free: 18.46 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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: 13.087144199998875]