Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.000767/0.000767, allocations: 81.69 kB / 19.27 MB, free: 0.5859 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.000835/0.000835, allocations: 166 kB / 22.58 MB, free: 1.926 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.8441/0.8441, allocations: 177.1 MB / 202.9 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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 1.704/1.704, allocations: 390.1 MB / 0.6342 GB, free: 11.57 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.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.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.299e-05, allocations: 2.312 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001526/0.001539, allocations: 1.414 MB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.002563, allocations: 1.009 MB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.002605, allocations: 3.938 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.002622, allocations: 3.938 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.002717, allocations: 23.83 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.003194, allocations: 242.7 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.744e-05/0.003281, allocations: 75.64 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.003322, allocations: 7.984 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.003372, allocations: 31.91 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.003448, allocations: 39.88 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003463, allocations: 4 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.003902, allocations: 403.4 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.003922, allocations: 11.92 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.003957, allocations: 23.91 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.004314, allocations: 339 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004316, allocations: 0 / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.31e-07/0.004317, allocations: 0 / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.004321, allocations: 0 / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004365/0.004757, allocations: 385.1 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.004797, allocations: 8.031 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.004825, allocations: 30.75 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.005117, allocations: 60.8 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.005236, allocations: 129.7 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.005251, allocations: 4.375 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.005263, allocations: 4.375 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.005392, allocations: 66.16 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005399, allocations: 4.125 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005411, allocations: 7.922 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005416, allocations: 0 / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.005542, allocations: 47.95 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.00568, allocations: 144.7 kB / 1.006 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.005874, allocations: 86.55 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.005939, allocations: 36.81 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.005951, allocations: 0 / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.005968, allocations: 34.56 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 5.61e-07/0.005969, allocations: 0 / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002611/0.00623, allocations: 109.5 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.006258, allocations: 59.39 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.006345, allocations: 145.8 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.00636, allocations: 29.7 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.006394, allocations: 96.08 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.00641, allocations: 7.906 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.006452, allocations: 33.7 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.006524, allocations: 322.8 kB / 1.007 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.006609, allocations: 51.91 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.006681, allocations: 43.97 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.006823, allocations: 92.77 kB / 1.007 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006824, allocations: 4 kB / 1.007 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001929/0.007017, allocations: 145.6 kB / 1.007 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.00703, allocations: 11.94 kB / 1.007 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.007042, allocations: 0 / 1.007 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.007052, allocations: 0 / 1.007 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.007165, allocations: 23.91 kB / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.00717, allocations: 4 kB / 1.007 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.007241, allocations: 11.89 kB / 1.007 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.007251, allocations: 8 kB / 1.007 GB, free: 5.293 MB / 0.9636 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.551e-05/0.007306, allocations: 113.8 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.007317, allocations: 7.953 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.007344, allocations: 12.28 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.007346, allocations: 4 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00735, allocations: 0 / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.007351, allocations: 0 / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.07e-05/0.007422, allocations: 140.7 kB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.007423, allocations: 0 / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.007475, allocations: 19.98 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.007476, allocations: 0 / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.007486, allocations: 7.938 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007486, allocations: 0 / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007487, allocations: 0 / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.007645, allocations: 117 kB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.007658, allocations: 7.953 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.007673, allocations: 3.938 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.007717, allocations: 7.984 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.007731, allocations: 4.234 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.007736, allocations: 4 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.007787, allocations: 113.3 kB / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007787, allocations: 0 / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000146/0.007933, allocations: 31.94 kB / 1.008 GB, free: 4.637 MB / 0.9636 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 (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 Backend phase and start with SimCode phase: time 0.0003897/0.008322, allocations: 0.6591 MB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.008536, allocations: 121.7 kB / 1.009 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008537, allocations: 0 / 1.009 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.008595, allocations: 27.97 kB / 1.009 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.008764, allocations: 19.84 kB / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.0101, allocations: 1.585 MB / 1.01 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.01014, allocations: 71.33 kB / 1.01 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01018, allocations: 11.94 kB / 1.01 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.01024, allocations: 24.48 kB / 1.01 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01024, allocations: 0 / 1.01 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.02465, allocations: 3.845 MB / 1.014 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.318/6.342, allocations: 13.38 kB / 1.014 GB, free: 14.32 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.330449014902115]