Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001294/0.001294, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00138/0.00138, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.606/1.606, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.082/3.082, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",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.002326/0.002326, allocations: 71.91 kB / 1.15 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232/1.234, allocations: 176.1 MB / 1.322 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001914/1.236, allocations: 0.5778 MB / 1.322 GB, free: 7.215 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007469/1.237, allocations: 335.1 kB / 1.322 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/1.237, allocations: 1 kB / 1.322 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/1.237, allocations: 0 / 1.322 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/1.237, allocations: 0 / 1.322 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/1.237, allocations: 119 kB / 1.323 GB, free: 6.887 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.289e-05/1.237, allocations: 1.062 kB / 1.323 GB, free: 6.887 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/1.237, allocations: 1.344 kB / 1.323 GB, free: 6.887 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.538e-05/1.237, allocations: 1.031 kB / 1.323 GB, free: 6.887 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/1.237, allocations: 9.031 kB / 1.323 GB, free: 6.879 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/1.237, allocations: 0 / 1.323 GB, free: 6.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/1.238, allocations: 270.1 kB / 1.323 GB, free: 6.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/1.238, allocations: 1.094 kB / 1.323 GB, free: 6.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/1.238, allocations: 0 / 1.323 GB, free: 6.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/1.238, allocations: 89.91 kB / 1.323 GB, free: 6.672 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/1.238, allocations: 0 / 1.323 GB, free: 6.672 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/1.238, allocations: 5.031 kB / 1.323 GB, free: 6.668 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.238, allocations: 0 / 1.323 GB, free: 6.668 MB / 1.014 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.000416/1.238, allocations: 335.8 kB / 1.323 GB, free: 6.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/1.238, allocations: 13.8 kB / 1.323 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/1.238, allocations: 192 / 1.323 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/1.239, allocations: 32.25 kB / 1.323 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/1.239, allocations: 4.922 kB / 1.323 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/1.239, allocations: 160.4 kB / 1.323 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.239, allocations: 1.812 kB / 1.323 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/1.239, allocations: 4.375 kB / 1.323 GB, free: 6.051 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/1.239, allocations: 36.33 kB / 1.323 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.239, allocations: 0 / 1.323 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/1.239, allocations: 0 / 1.323 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.239, allocations: 1.312 kB / 1.323 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/1.239, allocations: 1.406 kB / 1.323 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/1.239, allocations: 150.9 kB / 1.324 GB, free: 5.816 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/1.239, allocations: 23.75 kB / 1.324 GB, free: 5.785 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/1.239, allocations: 6.016 kB / 1.324 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007284/1.24, allocations: 426.1 kB / 1.324 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.24, allocations: 38.44 kB / 1.324 GB, free: 5.246 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/1.24, allocations: 0 / 1.324 GB, free: 5.246 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002197/1.24, allocations: 35.67 kB / 1.324 GB, free: 5.211 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/1.24, allocations: 59.39 kB / 1.324 GB, free: 5.141 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/1.24, allocations: 93.8 kB / 1.324 GB, free: 5.039 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/1.24, allocations: 27.27 kB / 1.324 GB, free: 5.008 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/1.241, allocations: 84.12 kB / 1.324 GB, free: 4.922 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/1.241, allocations: 7.891 kB / 1.324 GB, free: 4.914 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/1.241, allocations: 16.25 kB / 1.324 GB, free: 4.895 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.241, allocations: 311 kB / 1.325 GB, free: 4.582 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/1.241, allocations: 5.25 kB / 1.325 GB, free: 4.578 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/1.241, allocations: 5.25 kB / 1.325 GB, free: 4.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/1.241, allocations: 11.7 kB / 1.325 GB, free: 4.562 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.241, allocations: 0 / 1.325 GB, free: 4.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.033e-05/1.241, allocations: 36.09 kB / 1.325 GB, free: 4.527 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.241, allocations: 8.156 kB / 1.325 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.241, allocations: 1.344 kB / 1.325 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.241, allocations: 0 / 1.325 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/1.241, allocations: 5.812 kB / 1.325 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.241, allocations: 0 / 1.325 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/1.241, allocations: 5.688 kB / 1.325 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/1.241, allocations: 0 / 1.325 GB, free: 4.516 MB / 1.014 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 0.0001075/1.241, allocations: 107.4 kB / 1.325 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/1.241, allocations: 3.938 kB / 1.325 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/1.241, allocations: 50.45 kB / 1.325 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.241, allocations: 4.031 kB / 1.325 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.241, allocations: 1.344 kB / 1.325 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.241, allocations: 0 / 1.325 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/1.242, allocations: 143 kB / 1.325 GB, free: 4.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.242, allocations: 0 / 1.325 GB, free: 4.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/1.242, allocations: 5.359 kB / 1.325 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.242, allocations: 5.406 kB / 1.325 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/1.242, allocations: 0 / 1.325 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.242, allocations: 0 / 1.325 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.242, allocations: 1.344 kB / 1.325 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/1.242, allocations: 62.61 kB / 1.325 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/1.242, allocations: 82.28 kB / 1.325 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/1.242, allocations: 5.188 kB / 1.325 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-06/1.242, allocations: 0 / 1.325 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/1.242, allocations: 1.406 kB / 1.325 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/1.242, allocations: 3.938 kB / 1.325 GB, free: 3.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.204e-05/1.242, allocations: 75.28 kB / 1.325 GB, free: 3.895 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/1.242, allocations: 0 / 1.325 GB, free: 3.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000218/1.242, allocations: 14.12 kB / 1.325 GB, free: 3.891 MB / 1.014 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.0005995/1.243, allocations: 0.6057 MB / 1.326 GB, free: 3.285 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/1.243, allocations: 8.125 kB / 1.326 GB, free: 3.281 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.243, allocations: 0 / 1.326 GB, free: 3.281 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/1.243, allocations: 11.25 kB / 1.326 GB, free: 3.273 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/1.243, allocations: 7.922 kB / 1.326 GB, free: 3.266 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/1.243, allocations: 108.9 kB / 1.326 GB, free: 3.133 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/1.244, allocations: 0.6706 MB / 1.327 GB, free: 2.438 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.599e-05/1.244, allocations: 0 / 1.327 GB, free: 2.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/1.244, allocations: 12.7 kB / 1.327 GB, free: 2.426 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.244, allocations: 0 / 1.327 GB, free: 2.426 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/1.262, allocations: 1.227 MB / 1.328 GB, free: 1.734 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.523, allocations: 10.45 kB / 1.328 GB, free: 1.73 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.319144665962085]