Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001681/0.001681, allocations: 104.5 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.001888/0.001888, 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.529/1.529, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.669/2.669, allocations: 443.5 MB / 0.7287 GB, free: 14.47 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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 1.056 GB, free: 2.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 160.7 MB / 1.213 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001725/0.3232, allocations: 0.5716 MB / 1.214 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.3239, allocations: 330.8 kB / 1.214 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.3239, allocations: 0 / 1.214 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.3239, allocations: 0 / 1.214 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.3239, allocations: 0 / 1.214 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3243, allocations: 115.7 kB / 1.214 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.255e-05/0.3244, allocations: 4 kB / 1.214 GB, free: 308 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.3244, allocations: 0 / 1.214 GB, free: 308 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.328e-05/0.3244, allocations: 3.938 kB / 1.214 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 1.76e-05/0.3244, allocations: 0 / 1.214 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.3245, allocations: 0 / 1.214 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.3249, allocations: 279.6 kB / 1.214 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3249, allocations: 3.984 kB / 1.214 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.3249, allocations: 0 / 1.214 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.3251, allocations: 88.02 kB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3251, allocations: 7.938 kB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3251, allocations: 4 kB / 1.214 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.3251, allocations: 0 / 1.214 GB, free: 15.92 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003527/0.3255, allocations: 331.3 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3255, allocations: 8.031 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.3255, allocations: 38.69 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.3256, allocations: 0.9375 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3257, allocations: 160.4 kB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3257, allocations: 4.375 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.3257, allocations: 4.375 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.599e-05/0.3258, allocations: 26.27 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3258, allocations: 7.922 kB / 1.215 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.3258, allocations: 3.938 kB / 1.215 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3258, allocations: 0 / 1.215 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.3258, allocations: 4 kB / 1.215 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.326, allocations: 145.6 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.3261, allocations: 26.55 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.3261, allocations: 8.859 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.3266, allocations: 425.6 kB / 1.215 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3266, allocations: 30.56 kB / 1.215 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3266, allocations: 0 / 1.215 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.3268, allocations: 41.62 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3268, allocations: 59.34 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.435e-05/0.3269, allocations: 89.86 kB / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3269, allocations: 25.7 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.3269, allocations: 80.14 kB / 1.216 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.327, allocations: 0 / 1.216 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.327, allocations: 13.72 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3271, allocations: 314.8 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.3271, allocations: 4.125 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.3272, allocations: 3.984 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.3272, allocations: 8.859 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3272, allocations: 4 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.983e-05/0.3273, allocations: 33.7 kB / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3273, allocations: 8 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3273, allocations: 7.875 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3273, allocations: 0 / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.681e-05/0.3273, allocations: 4.094 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3273, allocations: 3.984 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.3273, allocations: 4 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3273, allocations: 0 / 1.216 GB, free: 13.7 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 (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 8.098e-05/0.3274, allocations: 109.8 kB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.3274, allocations: 3.938 kB / 1.216 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.3275, allocations: 40.77 kB / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3275, allocations: 0 / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3275, allocations: 4.031 kB / 1.216 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3275, allocations: 3.938 kB / 1.216 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.3277, allocations: 149.7 kB / 1.216 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3277, allocations: 0 / 1.216 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.3277, allocations: 4 kB / 1.216 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3277, allocations: 0 / 1.216 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3277, allocations: 7.875 kB / 1.216 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3277, allocations: 0 / 1.216 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3277, allocations: 0 / 1.216 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.046e-05/0.3278, allocations: 61.12 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.3278, allocations: 81.11 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3278, allocations: 3.938 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.3278, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.3279, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3279, allocations: 4 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.3279, allocations: 79.28 kB / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3279, allocations: 0 / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001966/0.3281, allocations: 11.97 kB / 1.217 GB, free: 13.05 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 (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.0004842/0.3286, allocations: 0.6202 MB / 1.217 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.267e-05/0.3286, allocations: 0 / 1.217 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3286, allocations: 0 / 1.217 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.3287, allocations: 8.094 kB / 1.217 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3288, allocations: 2.031 kB / 1.217 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.3291, allocations: 122.4 kB / 1.217 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3294, allocations: 0.6768 MB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.508e-05/0.3294, allocations: 0 / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.3294, allocations: 7.438 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3294, allocations: 0 / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3526, allocations: 1.199 MB / 1.219 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.467, allocations: 3.516 kB / 1.219 GB, free: 10.41 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.667725794017315]