Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.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.001218/0.001218, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000963/0.000963, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9177/0.9177, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 4 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.713e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001633/0.001651, allocations: 1.448 MB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.001858, allocations: 95.73 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.001885, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.001911, allocations: 3.938 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.001945, allocations: 7.938 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.002118, allocations: 11.98 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.00218, allocations: 31.86 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.259e-05/0.002253, allocations: 0 / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.002297, allocations: 15.98 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.113e-05/0.002328, allocations: 11.92 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.002343, allocations: 4 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.002389, allocations: 11.98 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.002402, allocations: 7.984 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.002418, allocations: 8 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.177e-05/0.002509, allocations: 39.83 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002511, allocations: 0 / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002512, allocations: 4 kB / 0.9522 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.002515, allocations: 0 / 0.9522 GB, free: 1.766 MB / 0.9011 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.000301/0.002816, allocations: 270.2 kB / 0.9524 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.002849, allocations: 12.02 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.485e-05/0.002874, allocations: 34.69 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/0.002968, allocations: 12.92 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.531e-05/0.003034, allocations: 109.8 kB / 0.9526 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.003051, allocations: 4.375 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.003058, allocations: 384 / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.003175, allocations: 62.16 kB / 0.9526 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.003181, allocations: 192 / 0.9526 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.003188, allocations: 384 / 0.9526 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003194, allocations: 4.125 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.003304, allocations: 47.95 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.003567, allocations: 240 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.003673, allocations: 46.55 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.003732, allocations: 32.89 kB / 0.953 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.003744, allocations: 3.938 kB / 0.953 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.003762, allocations: 42.48 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.003763, allocations: 0 / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002347/0.003998, allocations: 101.6 kB / 0.9531 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.004023, allocations: 55.41 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.004074, allocations: 101.9 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.004083, allocations: 25.7 kB / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.004114, allocations: 88.12 kB / 0.9534 GB, free: 332 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.004129, allocations: 11.83 kB / 0.9534 GB, free: 320 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.004155, allocations: 13.72 kB / 0.9534 GB, free: 300 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.004229, allocations: 315 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.004283, allocations: 31.97 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/0.004332, allocations: 28.16 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.604e-05/0.004428, allocations: 44.81 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.00443, allocations: 4 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001224/0.004552, allocations: 85.66 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.004562, allocations: 4 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004566, allocations: 4 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.004575, allocations: 0 / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.00464, allocations: 7.984 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.004644, allocations: 4 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.004673, allocations: 11.94 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.004678, allocations: 4.031 kB / 0.9539 GB, free: 15.74 MB / 0.9167 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 4.869e-05/0.004726, allocations: 117.8 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.004739, allocations: 3.938 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.00476, allocations: 7.609 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.004762, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.004766, allocations: 4 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004768, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.004866, allocations: 132.7 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.004866, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.004896, allocations: 11.98 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.004898, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.004905, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.004905, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004906, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.005049, allocations: 171.5 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.005056, allocations: 7.891 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.005065, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.005109, allocations: 16.02 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.005138, allocations: 3.938 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.00514, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.005166, allocations: 87.27 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005166, allocations: 4 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001462/0.005312, allocations: 7.938 kB / 0.9545 GB, free: 15.09 MB / 0.9167 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.0002939/0.005606, allocations: 0.7046 MB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.005742, allocations: 47.98 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005743, allocations: 3.938 kB / 0.9552 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.005796, allocations: 27.97 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.005978, allocations: 6.656 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.006291, allocations: 154.6 kB / 0.9554 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.006329, allocations: 59.34 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.00635, allocations: 0 / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.006384, allocations: 16.5 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of SimCode: time 4.5e-07/0.006385, allocations: 0 / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.02025, allocations: 2.187 MB / 0.9576 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.764, allocations: 12.03 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.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: 10.847344963811338]