Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001313/0.001313, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001396/0.001396, allocations: 215.5 kB / 23.03 MB, free: 4.918 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3.284/3.284, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",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.001954/0.001954, allocations: 70.53 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.391, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003373/0.3944, allocations: 1.302 MB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.3951, allocations: 279 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.3951, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.3952, allocations: 3.938 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3953, allocations: 7.922 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3957, allocations: 79.7 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.3958, allocations: 39.84 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.3958, allocations: 4 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.396, allocations: 31.91 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.396, allocations: 7.938 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.396, allocations: 4 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.3962, allocations: 87.91 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.3963, allocations: 3.938 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.3963, allocations: 11.92 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3965, allocations: 80.02 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3965, allocations: 0 / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3965, allocations: 0 / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3965, allocations: 0 / 1.347 GB, free: 13.99 MB / 1.045 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.000464/0.397, allocations: 282 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.397, allocations: 12.03 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.3971, allocations: 192 / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.3971, allocations: 34.75 kB / 1.347 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.3971, allocations: 4.938 kB / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3972, allocations: 114.4 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3973, allocations: 4.375 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3973, allocations: 7.938 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3974, allocations: 63.33 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3974, allocations: 0 / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3974, allocations: 4 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3974, allocations: 3.984 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.3975, allocations: 11.98 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.3977, allocations: 128.8 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3978, allocations: 38.52 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.3978, allocations: 12.86 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007282/0.3985, allocations: 135.9 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.3986, allocations: 34.56 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3986, allocations: 4 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001891/0.3988, allocations: 49.64 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.3988, allocations: 55.41 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3989, allocations: 109.8 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3989, allocations: 37.58 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.399, allocations: 80.14 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.399, allocations: 11.94 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.3991, allocations: 17.72 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3992, allocations: 314.8 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.3992, allocations: 4 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.3992, allocations: 8 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.3993, allocations: 20.84 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3993, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.373e-05/0.3994, allocations: 53.58 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3994, allocations: 4 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3994, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3994, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.3995, allocations: 4 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3995, allocations: 7.938 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.3995, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3995, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 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 (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 prepare postOptimizeDAE: time 0.0001015/0.3996, allocations: 121.8 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.3996, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.3998, allocations: 57.67 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3998, allocations: 0 / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3998, allocations: 0 / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3998, allocations: 0 / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3999, allocations: 136.7 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3999, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.4, allocations: 12 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4, allocations: 384 / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.4, allocations: 0 / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4, allocations: 7.938 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.4001, allocations: 77 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.4001, allocations: 7.984 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4002, allocations: 0 / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.4002, allocations: 8 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.4002, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.4002, allocations: 3.938 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.858e-05/0.4003, allocations: 95.25 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4003, allocations: 0 / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002298/0.4005, allocations: 31.88 kB / 1.349 GB, free: 11.51 MB / 1.045 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 (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.000562/0.4011, allocations: 0.6356 MB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.4012, allocations: 19.92 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4012, allocations: 0 / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.4012, allocations: 11.94 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4015, allocations: 4.938 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.402, allocations: 167.8 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.402, allocations: 63.34 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.4021, allocations: 4 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.4021, allocations: 15.42 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.4021, allocations: 4 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.4257, allocations: 1.802 MB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.7, allocations: 8.484 kB / 1.352 GB, free: 8.844 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: 18.567332983016968]