Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001272/0.001272, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001598/0.001598, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.023 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.951/2.951, allocations: 476.7 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002118/0.002118, allocations: 66.36 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003159/0.3658, allocations: 1.48 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.3666, allocations: 390.6 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.3666, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.3667, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.3667, allocations: 3.938 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.3672, allocations: 123.5 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.3673, allocations: 23.94 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3674, allocations: 15.5 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.3674, allocations: 11.98 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.3675, allocations: 11.92 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3675, allocations: 4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.3679, allocations: 275.7 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.3679, allocations: 0 / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.3679, allocations: 19.86 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.3682, allocations: 103.8 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3682, allocations: 4 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3682, allocations: 7.875 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.309 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005261/0.3687, allocations: 290 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3688, allocations: 12.03 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.3688, allocations: 30.75 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.3688, allocations: 0.9375 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.369, allocations: 110.5 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.369, allocations: 384 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.369, allocations: 8.375 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3692, allocations: 50.23 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3692, allocations: 3.938 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.3692, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3692, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3694, allocations: 43.89 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.3697, allocations: 220 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3698, allocations: 38.5 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.3699, allocations: 24.91 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/0.3705, allocations: 75.91 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3705, allocations: 34.56 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3705, allocations: 0 / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003819/0.3709, allocations: 93.61 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3709, allocations: 59.41 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.371, allocations: 101.9 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.371, allocations: 29.7 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.3711, allocations: 84.12 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3711, allocations: 7.891 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.3712, allocations: 21.66 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3713, allocations: 310.8 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.3714, allocations: 24 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.3715, allocations: 15.98 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3716, allocations: 44.77 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3716, allocations: 7.875 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.3718, allocations: 69.72 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3718, allocations: 4 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3718, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3718, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.3719, allocations: 11.98 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3719, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.372, allocations: 4 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.372, allocations: 0 / 1.288 GB, free: 7.316 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 (2): * Single equations (assignments): 2 * 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 9.464e-05/0.3721, allocations: 125.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.3721, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3723, allocations: 73.22 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3724, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3724, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3724, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3725, allocations: 144.6 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3725, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.3726, allocations: 8.031 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3726, allocations: 3.984 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3726, allocations: 4 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3726, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3726, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.3729, allocations: 173.2 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.3729, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3729, allocations: 4 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.373, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.373, allocations: 7.984 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.373, allocations: 0 / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.3731, allocations: 87.53 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3731, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000238/0.3733, allocations: 19.92 kB / 1.288 GB, free: 6.605 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 (2): * Single equations (assignments): 2 * 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.0006468/0.374, allocations: 0.7046 MB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3742, allocations: 43.89 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3742, allocations: 4.094 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.3743, allocations: 19.98 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3746, allocations: 11.86 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.375, allocations: 155 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3754, allocations: 0.6768 MB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.3754, allocations: 0 / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.3754, allocations: 19.48 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3754, allocations: 0 / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.4059, allocations: 1.707 MB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.64, allocations: 4.062 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.491869763005525]