Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.001579/0.001579, allocations: 105.3 kB / 16.45 MB, free: 6.445 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.001428/0.001428, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.58/1.58, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 443.5 MB / 0.7287 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 75.88 kB / 1.056 GB, free: 2.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 160.7 MB / 1.213 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00278/0.339, allocations: 1.446 MB / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.3398, allocations: 391.5 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.3399, allocations: 0 / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.3399, allocations: 0 / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.3399, allocations: 3.938 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.3404, allocations: 111.7 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.119e-05/0.3405, allocations: 31.91 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.3406, allocations: 288 / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.3406, allocations: 15.98 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.3407, allocations: 15.92 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3407, allocations: 4 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.3411, allocations: 271.7 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.3411, allocations: 7.938 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.3411, allocations: 15.92 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.3413, allocations: 107.6 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3413, allocations: 3.984 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3413, allocations: 3.938 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3413, allocations: 0 / 1.215 GB, free: 14.98 MB / 0.9669 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.0005168/0.3418, allocations: 375 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3419, allocations: 8.031 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.3419, allocations: 34.75 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3419, allocations: 0.9375 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3421, allocations: 164.4 kB / 1.216 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.3421, allocations: 8.375 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3421, allocations: 384 / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3423, allocations: 50.23 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3423, allocations: 7.938 kB / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3423, allocations: 0 / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3423, allocations: 0 / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.3425, allocations: 35.91 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.3428, allocations: 248.9 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.343, allocations: 50.48 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.3431, allocations: 24.89 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007602/0.3438, allocations: 457.5 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3439, allocations: 34.56 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3439, allocations: 0 / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.3442, allocations: 81.58 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.3443, allocations: 55.41 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.3444, allocations: 110 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3444, allocations: 25.7 kB / 1.217 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.3444, allocations: 84.14 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.3445, allocations: 3.953 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.3445, allocations: 17.7 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3446, allocations: 318.8 kB / 1.217 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.3447, allocations: 15.98 kB / 1.217 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.3448, allocations: 19.98 kB / 1.217 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3449, allocations: 40.81 kB / 1.217 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3449, allocations: 3.938 kB / 1.217 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.3451, allocations: 65.61 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3452, allocations: 8 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3452, allocations: 4.078 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3452, allocations: 4 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.3453, allocations: 8 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3453, allocations: 0 / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.3453, allocations: 15.88 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3453, allocations: 0 / 1.218 GB, free: 12.32 MB / 0.9669 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 8.132e-05/0.3454, allocations: 113.8 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.3454, allocations: 4 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.3457, allocations: 81.05 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3457, allocations: 4 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3457, allocations: 256 / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3457, allocations: 0 / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3458, allocations: 165.6 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3459, allocations: 0 / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.3459, allocations: 11.98 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3459, allocations: 0 / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3459, allocations: 0 / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3459, allocations: 4.031 kB / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3459, allocations: 0 / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.3462, allocations: 167.5 kB / 1.218 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.3462, allocations: 85 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3462, allocations: 0 / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.3463, allocations: 12.02 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3464, allocations: 0 / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.3464, allocations: 0 / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.3464, allocations: 91.27 kB / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3464, allocations: 0 / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002249/0.3466, allocations: 12 kB / 1.218 GB, free: 11.48 MB / 0.9669 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.0006614/0.3473, allocations: 0.7162 MB / 1.219 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.3475, allocations: 39.91 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3475, allocations: 0 / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/0.3476, allocations: 19.98 kB / 1.219 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3479, allocations: 8.141 kB / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.3483, allocations: 143.8 kB / 1.219 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3486, allocations: 0.6807 MB / 1.22 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.3487, allocations: 3.984 kB / 1.22 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.3487, allocations: 7.438 kB / 1.22 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3487, allocations: 0 / 1.22 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.398, allocations: 1.612 MB / 1.221 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.504, allocations: 9.234 kB / 1.221 GB, free: 8.242 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.789499808102846]