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.00132/0.00132, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.001415/0.001415, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.556/3.556, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_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.002181/0.002181, allocations: 72.83 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4016, allocations: 176.1 MB / 1.321 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002112/0.4037, allocations: 0.6098 MB / 1.321 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.4045, allocations: 343.2 kB / 1.322 GB, free: 2.301 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.4045, allocations: 3.938 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.4045, allocations: 4 kB / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.142e-05/0.4046, allocations: 0 / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.405, allocations: 112.4 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.4051, allocations: 11.98 kB / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.4052, allocations: 3.984 kB / 1.322 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.4052, allocations: 8 kB / 1.322 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.4052, allocations: 7.938 kB / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4052, allocations: 0 / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.4057, allocations: 279.6 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.4057, allocations: 0 / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.4057, allocations: 11.92 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.4059, allocations: 92.02 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4059, allocations: 0 / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.988e-06/0.4059, allocations: 3.984 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4059, allocations: 0 / 1.322 GB, free: 1.773 MB / 1.014 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.0004883/0.4064, allocations: 343.3 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4065, allocations: 11.98 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.4065, allocations: 38.69 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.4066, allocations: 4.938 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.4067, allocations: 164.3 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.4067, allocations: 384 / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.4068, allocations: 384 / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.4069, allocations: 34.25 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4069, allocations: 7.938 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4069, allocations: 8 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4069, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.4069, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.4071, allocations: 153.7 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.971e-05/0.4072, allocations: 26.48 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.4072, allocations: 8.922 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/0.408, allocations: 457.5 kB / 1.323 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.408, allocations: 38.56 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.408, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006339/0.4087, allocations: 254.5 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4087, allocations: 51.41 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.4088, allocations: 101.8 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4088, allocations: 25.7 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.4089, allocations: 80.14 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.4089, allocations: 7.953 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.4089, allocations: 17.72 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4091, allocations: 322.9 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.4091, allocations: 8 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.668e-05/0.4091, allocations: 17.66 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.4092, allocations: 21.72 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4092, allocations: 0 / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001143/0.4093, allocations: 61.72 kB / 1.324 GB, free: 15.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4093, allocations: 11.94 kB / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4093, allocations: 0 / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4093, allocations: 3.984 kB / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.4094, allocations: 8 kB / 1.324 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4094, allocations: 3.984 kB / 1.324 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.4094, allocations: 4 kB / 1.324 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4094, allocations: 0 / 1.324 GB, free: 15.14 MB / 1.029 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 8.265e-05/0.4095, allocations: 109.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.4095, allocations: 8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.4097, allocations: 57.12 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4097, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4097, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4097, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.4099, allocations: 153.7 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4099, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.4099, allocations: 7.984 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4099, allocations: 7.875 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4099, allocations: 12 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4099, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4099, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.4101, allocations: 77.06 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.4101, allocations: 81.05 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4102, allocations: 7.984 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.4102, allocations: 32 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.4102, allocations: 4.062 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.4102, allocations: 4 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.4103, allocations: 79.28 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4103, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002211/0.4105, allocations: 19.94 kB / 1.325 GB, free: 14.41 MB / 1.029 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.0006077/0.4111, allocations: 0.6554 MB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.4112, allocations: 15.94 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4112, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.4112, allocations: 11.98 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.4114, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4125, allocations: 1.135 MB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.4129, allocations: 0.6768 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.4129, allocations: 8.344 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.4129, allocations: 7.438 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4129, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4428, allocations: 1.761 MB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.434, allocations: 4 kB / 1.329 GB, free: 10.14 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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] "Error: Could not read variable x in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.706081835087389]