Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001175/0.001175, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001536/0.001536, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8731/0.8731, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.765/1.765, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.225e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001589/0.001602, allocations: 1.448 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004938/0.002095, allocations: 355.5 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.002125, allocations: 7.875 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.002149, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.002185, allocations: 3.938 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.002521, allocations: 122.1 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.002581, allocations: 31.92 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.002668, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.002715, allocations: 19.97 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.153e-05/0.002746, allocations: 15.92 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.002759, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.003002, allocations: 255.6 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.003017, allocations: 8 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.003033, allocations: 4 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.0032, allocations: 139.6 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003202, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003202, allocations: 4 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.003206, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 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.0003212/0.003528, allocations: 286.1 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.003563, allocations: 12.75 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.003593, allocations: 30.75 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.003629, allocations: 0.9375 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.709e-05/0.003696, allocations: 109.8 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.003706, allocations: 4.375 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.003713, allocations: 4.375 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003829, allocations: 62.16 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.003835, allocations: 192 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.003842, allocations: 384 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003848, allocations: 4.125 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.003936, allocations: 35.95 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.004175, allocations: 216 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.004494, allocations: 38.5 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.00454, allocations: 28.91 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.004853, allocations: 71.91 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.004873, allocations: 46.5 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.004874, allocations: 4 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002177/0.005092, allocations: 81.59 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.005115, allocations: 51.41 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.827e-05/0.005163, allocations: 109.8 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.005174, allocations: 29.7 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.005205, allocations: 84.14 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.005219, allocations: 11.88 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.005244, allocations: 17.72 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.005313, allocations: 315 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.005353, allocations: 23.91 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.005389, allocations: 15.98 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.005464, allocations: 36.83 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005465, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.005584, allocations: 77.66 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.005595, allocations: 4 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005599, allocations: 0 / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.005609, allocations: 0 / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.005663, allocations: 15.92 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.005667, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.005688, allocations: 7.984 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.005692, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 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 4.683e-05/0.005739, allocations: 109.9 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.005757, allocations: 11.94 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.005879, allocations: 73.27 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.00588, allocations: 0 / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.005884, allocations: 0 / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005886, allocations: 0 / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.005984, allocations: 132.7 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005985, allocations: 0 / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.006006, allocations: 7.984 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.006009, allocations: 7.969 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006016, allocations: 4 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.006016, allocations: 0 / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006017, allocations: 0 / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.006141, allocations: 163.5 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.006147, allocations: 7.938 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.006156, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.006192, allocations: 8.234 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.006221, allocations: 8.031 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006225, allocations: 7.938 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.736e-05/0.006252, allocations: 87.27 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006252, allocations: 0 / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001532/0.006405, allocations: 15.94 kB / 1.004 GB, free: 8.363 MB / 0.9636 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.0003353/0.00674, allocations: 0.7045 MB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.006859, allocations: 51.98 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00686, allocations: 0 / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.006901, allocations: 15.98 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.00708, allocations: 0 / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.00737, allocations: 150.5 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.007407, allocations: 67.28 kB / 1.005 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.007426, allocations: 4.125 kB / 1.005 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.007455, allocations: 12.5 kB / 1.005 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of SimCode: time 7.32e-07/0.007456, allocations: 0 / 1.005 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.02389, allocations: 2.276 MB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.012, allocations: 10.05 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.153432866558433]