Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001405/0.001405, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001655/0.001655, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.638/1.638, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.357/3.357, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.002038/0.002038, allocations: 73.02 kB / 1.149 GB, free: 26.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4038, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002869/0.4066, allocations: 1.455 MB / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.4075, allocations: 386.7 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.4075, allocations: 0 / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.4075, allocations: 0 / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.4076, allocations: 11.88 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.4081, allocations: 115.7 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.4081, allocations: 27.86 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4083, allocations: 8.266 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.4083, allocations: 11.98 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.4084, allocations: 11.94 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.4084, allocations: 0 / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.4088, allocations: 275.6 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.4088, allocations: 4 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.4089, allocations: 15.92 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.4091, allocations: 107.6 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4091, allocations: 0 / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.547e-06/0.4091, allocations: 4 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.4091, allocations: 0 / 1.323 GB, free: 0.8984 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006048/0.4097, allocations: 371.1 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4098, allocations: 11.98 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.4098, allocations: 30.75 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.4099, allocations: 12.89 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.41, allocations: 168.3 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.41, allocations: 4.359 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.41, allocations: 4.375 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.4102, allocations: 42.25 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4103, allocations: 7.938 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4103, allocations: 0 / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4103, allocations: 3.984 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.4105, allocations: 39.91 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.4109, allocations: 249 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.411, allocations: 38.5 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.4111, allocations: 20.91 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008215/0.4119, allocations: 461.5 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4119, allocations: 34.56 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4119, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003995/0.4123, allocations: 93.53 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4124, allocations: 51.41 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.4125, allocations: 109.8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4125, allocations: 25.7 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.4126, allocations: 80.14 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.4126, allocations: 11.89 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4126, allocations: 21.84 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4128, allocations: 314.8 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.4128, allocations: 19.98 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.4129, allocations: 11.98 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.4131, allocations: 48.75 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4131, allocations: 8 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002167/0.4133, allocations: 65.61 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4133, allocations: 6.5 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4133, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4133, allocations: 4 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.4134, allocations: 7.984 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4134, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.4135, allocations: 12.02 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4135, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 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.33e-05/0.4136, allocations: 121.7 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.4136, allocations: 3.953 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.4138, allocations: 77.12 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4138, allocations: 3.984 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4139, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.4139, allocations: 8.016 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.4141, allocations: 161.6 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4141, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.4141, allocations: 7.984 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4141, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4141, allocations: 4 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4141, allocations: 3.984 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4141, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.4144, allocations: 167.5 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.4145, allocations: 81.05 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.4145, allocations: 4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.4145, allocations: 3.984 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.4146, allocations: 4 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.4146, allocations: 256 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.4146, allocations: 91.27 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4146, allocations: 4.031 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002354/0.4149, allocations: 12 kB / 1.326 GB, free: 13.38 MB / 1.029 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.0007129/0.4156, allocations: 0.7123 MB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.4159, allocations: 43.92 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4159, allocations: 4 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.416, allocations: 15.98 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.4163, allocations: 4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.4167, allocations: 154.9 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.4171, allocations: 0.6846 MB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.4171, allocations: 4 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.4171, allocations: 7.438 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4171, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.4438, allocations: 1.604 MB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.648, allocations: 17.67 kB / 1.329 GB, free: 10.13 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.826866182032973]