Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.0007952/0.0007952, allocations: 81.69 kB / 19.27 MB, free: 0.5898 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.0008839/0.0008839, allocations: 170 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.8818/0.8818, allocations: 177.1 MB / 202.9 MB, free: 5.684 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.734/1.734, allocations: 390.1 MB / 0.6342 GB, free: 11.56 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.InversePowerLaws,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.369e-05, allocations: 6.312 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001567/0.00158, allocations: 1.391 MB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.002395, allocations: 0.849 MB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.002429, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.002447, allocations: 3.938 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.002515, allocations: 3.938 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.002918, allocations: 226.9 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.002993, allocations: 55.72 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.003039, allocations: 23.84 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.003086, allocations: 27.97 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.003145, allocations: 23.92 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.003158, allocations: 0 / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.003519, allocations: 379.4 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.003535, allocations: 8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.003561, allocations: 19.92 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.003857, allocations: 303.1 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00386, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003861, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.003865, allocations: 0 / 1.005 GB, free: 7.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003748/0.00424, allocations: 345.3 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.00428, allocations: 12.03 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.004308, allocations: 38.73 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.004513, allocations: 40.84 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.004604, allocations: 113.7 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.004619, allocations: 384 / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.004631, allocations: 8.375 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.004758, allocations: 58.2 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.004764, allocations: 4.188 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.004773, allocations: 4.312 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.00478, allocations: 8.125 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.004895, allocations: 43.95 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.005167, allocations: 236 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.005689, allocations: 146.5 kB / 1.006 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.005891, allocations: 32.78 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.005906, allocations: 0 / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.005923, allocations: 38.44 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.005924, allocations: 0 / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002666/0.00619, allocations: 109.6 kB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.006216, allocations: 51.41 kB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.006287, allocations: 129.8 kB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006298, allocations: 33.7 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.006337, allocations: 84.09 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.006349, allocations: 19.89 kB / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.006381, allocations: 25.7 kB / 1.006 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.006452, allocations: 318.8 kB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.00652, allocations: 35.97 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.006594, allocations: 57.62 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.006724, allocations: 89 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.006725, allocations: 0 / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001854/0.006911, allocations: 133.5 kB / 1.007 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.006924, allocations: 4 kB / 1.007 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.006937, allocations: 4 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.006949, allocations: 0 / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.935e-05/0.006998, allocations: 11.98 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.007004, allocations: 4 kB / 1.007 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.007046, allocations: 20.05 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.007056, allocations: 7.984 kB / 1.007 GB, free: 5.559 MB / 0.9636 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 (6): * Single equations (assignments): 5 * 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.468e-05/0.00711, allocations: 109.8 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.007128, allocations: 11.89 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.007156, allocations: 8 kB / 1.007 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007158, allocations: 0 / 1.007 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.007163, allocations: 0 / 1.007 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007167, allocations: 0 / 1.007 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.007278, allocations: 136.7 kB / 1.007 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.007278, allocations: 3.938 kB / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.007319, allocations: 15.98 kB / 1.007 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.007323, allocations: 3.938 kB / 1.007 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.007333, allocations: 4 kB / 1.007 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.007334, allocations: 0 / 1.007 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.007335, allocations: 3.938 kB / 1.007 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.007503, allocations: 171.5 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.007515, allocations: 19.81 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.007527, allocations: 0 / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.007573, allocations: 4 kB / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.007593, allocations: 11.98 kB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.007596, allocations: 0 / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.007634, allocations: 99.27 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007634, allocations: 0 / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001688/0.007803, allocations: 24 kB / 1.008 GB, free: 4.871 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.0003602/0.008163, allocations: 0.7281 MB / 1.008 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.008355, allocations: 109.6 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008356, allocations: 4.062 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.008407, allocations: 23.97 kB / 1.009 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.0086, allocations: 11.98 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.00973, allocations: 1.491 MB / 1.01 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.00977, allocations: 71.28 kB / 1.01 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.009805, allocations: 7.984 kB / 1.01 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.009849, allocations: 24.5 kB / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.009849, allocations: 0 / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.02451, allocations: 3.039 MB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.351/6.375, allocations: 14.28 kB / 1.013 GB, free: 15.38 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.325237614102662]