Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001752/0.001752, allocations: 116.1 kB / 17.17 MB, free: 6 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.001999/0.001999, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.054/3.054, allocations: 0.49 GB / 0.7923 GB, free: 1.367 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",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.002638/0.002638, allocations: 75.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262/1.265, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001692/1.266, allocations: 0.5926 MB / 1.322 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006197/1.267, allocations: 351.3 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/1.267, allocations: 0 / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/1.267, allocations: 4 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.176e-05/1.267, allocations: 0 / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/1.267, allocations: 119.5 kB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.495e-05/1.267, allocations: 6.906 kB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/1.268, allocations: 6.375 kB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/1.268, allocations: 10.86 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/1.268, allocations: 0 / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/1.268, allocations: 2.438 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/1.268, allocations: 278 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/1.268, allocations: 0 / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/1.268, allocations: 6.5 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/1.268, allocations: 96.09 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/1.268, allocations: 4 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.554e-06/1.268, allocations: 0 / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.268, allocations: 3.938 kB / 1.323 GB, free: 24.01 MB / 1.061 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.0004529/1.269, allocations: 341 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.269, allocations: 14.2 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.808e-05/1.269, allocations: 8.188 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/1.269, allocations: 37.5 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/1.269, allocations: 0.9375 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.269, allocations: 167.6 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.269, allocations: 3.469 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/1.269, allocations: 384 / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/1.269, allocations: 43.12 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.269, allocations: 0 / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.269, allocations: 0 / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/1.269, allocations: 7.938 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.185e-05/1.269, allocations: 2.781 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/1.269, allocations: 151.7 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/1.269, allocations: 24.2 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/1.269, allocations: 4.859 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007296/1.27, allocations: 460.4 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.27, allocations: 38.5 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/1.27, allocations: 2.625 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0006162/1.271, allocations: 251.3 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.271, allocations: 54.34 kB / 1.324 GB, free: 22.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/1.271, allocations: 96.45 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/1.271, allocations: 25.7 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/1.271, allocations: 83.38 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/1.271, allocations: 10.77 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/1.271, allocations: 16.28 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/1.271, allocations: 315 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/1.271, allocations: 10.23 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/1.271, allocations: 19 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/1.271, allocations: 28.56 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.271, allocations: 3.281 kB / 1.325 GB, free: 21.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.906e-05/1.271, allocations: 61.81 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.271, allocations: 5.844 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.271, allocations: 0 / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.271, allocations: 3.328 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/1.271, allocations: 7.594 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.271, allocations: 0 / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/1.271, allocations: 4 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/1.271, allocations: 2.562 kB / 1.325 GB, free: 21.61 MB / 1.061 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 5.67e-05/1.272, allocations: 110.4 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/1.272, allocations: 7.969 kB / 1.325 GB, free: 21.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/1.272, allocations: 64.3 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.272, allocations: 0 / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.272, allocations: 2.969 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.272, allocations: 0 / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.386e-05/1.272, allocations: 152.1 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.272, allocations: 0 / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/1.272, allocations: 12.34 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.272, allocations: 0 / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.272, allocations: 8 kB / 1.325 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.272, allocations: 7.984 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.272, allocations: 2.312 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/1.272, allocations: 72.06 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/1.272, allocations: 81.05 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.272, allocations: 6.938 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/1.272, allocations: 3.938 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/1.272, allocations: 2.969 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/1.272, allocations: 7.297 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.341e-05/1.272, allocations: 77.56 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.272, allocations: 0 / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002282/1.272, allocations: 23.56 kB / 1.326 GB, free: 20.97 MB / 1.061 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.0004579/1.273, allocations: 0.6509 MB / 1.326 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.657e-05/1.273, allocations: 22.92 kB / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.273, allocations: 0 / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/1.273, allocations: 9.406 kB / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/1.273, allocations: 2.031 kB / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/1.274, allocations: 1.133 MB / 1.328 GB, free: 19.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/1.274, allocations: 0.6745 MB / 1.328 GB, free: 18.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.781e-05/1.274, allocations: 10.72 kB / 1.328 GB, free: 18.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/1.274, allocations: 13.52 kB / 1.328 GB, free: 18.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.274, allocations: 0 / 1.328 GB, free: 18.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/1.293, allocations: 1.785 MB / 1.33 GB, free: 18.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/9.588, allocations: 10.31 kB / 1.33 GB, free: 18.13 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.513139994000085]