Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001703/0.001703, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.00216/0.00216, allocations: 221.7 kB / 22.25 MB, free: 5.215 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.394/3.394, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.002001/0.002001, allocations: 70.72 kB / 1.177 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4173, allocations: 180.2 MB / 1.353 GB, free: 8.363 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002307/0.4196, allocations: 0.6006 MB / 1.353 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000864/0.4205, allocations: 351.1 kB / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.4205, allocations: 0 / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.4205, allocations: 0 / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.4206, allocations: 0 / 1.354 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.4212, allocations: 123.7 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.4212, allocations: 11.92 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.4213, allocations: 0 / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.4213, allocations: 11.92 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.4214, allocations: 4 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.4214, allocations: 0 / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.4219, allocations: 275.7 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.4219, allocations: 0 / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.4219, allocations: 15.92 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.4221, allocations: 92 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4222, allocations: 0 / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4222, allocations: 3.938 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4222, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004354/0.4226, allocations: 266.2 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4226, allocations: 12.03 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.4227, allocations: 34.75 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.4228, allocations: 0.9375 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.4229, allocations: 118.5 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4229, allocations: 384 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4229, allocations: 384 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.423, allocations: 34.2 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.423, allocations: 7.938 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.423, allocations: 4 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4231, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.4231, allocations: 3.984 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.4233, allocations: 124.7 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.467e-05/0.4234, allocations: 26.59 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.4234, allocations: 8.922 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/0.424, allocations: 75.92 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4241, allocations: 34.5 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4241, allocations: 4 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0006348/0.4247, allocations: 173.2 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.4247, allocations: 51.41 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4249, allocations: 106.1 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4249, allocations: 25.7 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.4249, allocations: 80.14 kB / 1.355 GB, free: 5.527 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.425, allocations: 11.91 kB / 1.355 GB, free: 5.516 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.425, allocations: 13.72 kB / 1.355 GB, free: 5.496 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.4252, allocations: 326.8 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.4253, allocations: 4 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.484e-05/0.4253, allocations: 17.84 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.4254, allocations: 29.66 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4254, allocations: 0 / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.4255, allocations: 49.69 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.4256, allocations: 11.94 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4256, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4256, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.4257, allocations: 19.98 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4257, allocations: 4 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.4257, allocations: 0 / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.4257, allocations: 0 / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001/0.4258, allocations: 117.7 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.4258, allocations: 3.938 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.426, allocations: 57.31 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.426, allocations: 4 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.426, allocations: 3.984 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.426, allocations: 4 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.4261, allocations: 128.9 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4261, allocations: 0 / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.4262, allocations: 11.88 kB / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.4262, allocations: 7.922 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.4262, allocations: 0 / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4262, allocations: 0 / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4262, allocations: 0 / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.4263, allocations: 81.12 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.4264, allocations: 11.88 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4264, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.4264, allocations: 4.031 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.4264, allocations: 0 / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4264, allocations: 0 / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.4265, allocations: 79.28 kB / 1.356 GB, free: 4.434 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4265, allocations: 0 / 1.356 GB, free: 4.434 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002195/0.4267, allocations: 36.08 kB / 1.356 GB, free: 4.398 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0007226/0.4274, allocations: 0.6319 MB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.818e-05/0.4275, allocations: 15.98 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4275, allocations: 4 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/0.4275, allocations: 8.125 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.4277, allocations: 4 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4289, allocations: 1.135 MB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4292, allocations: 0.6768 MB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.4293, allocations: 7.938 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.4293, allocations: 7.438 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4293, allocations: 4 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4627, allocations: 1.835 MB / 1.361 GB, free: 56 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.64, allocations: 11.66 kB / 1.361 GB, free: 48 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.727213239995763]