Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 497.2 MB / 0.7811 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.75 kB / 1.134 GB, free: 33.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3146, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002291/0.3169, allocations: 1.265 MB / 1.305 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.3172, allocations: 123.9 kB / 1.305 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.3172, allocations: 0 / 1.305 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.3172, allocations: 3.984 kB / 1.305 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.3173, allocations: 7.938 kB / 1.305 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3175, allocations: 35.89 kB / 1.305 GB, free: 104 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.892e-05/0.3175, allocations: 11.94 kB / 1.305 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.3176, allocations: 3.984 kB / 1.305 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.3176, allocations: 4 kB / 1.305 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.3176, allocations: 15.92 kB / 1.305 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3176, allocations: 0 / 1.305 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3178, allocations: 51.94 kB / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.3178, allocations: 0 / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.3178, allocations: 11.94 kB / 1.305 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3179, allocations: 36.16 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3179, allocations: 4 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3179, allocations: 0 / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.3179, allocations: 0 / 1.305 GB, free: 15.96 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003933/0.3183, allocations: 335.4 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3183, allocations: 12.62 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.3184, allocations: 30.75 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.3184, allocations: 4.891 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3185, allocations: 168.3 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3186, allocations: 4.375 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3186, allocations: 4.125 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.073e-05/0.3186, allocations: 29.7 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-06/0.3186, allocations: 0 / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3187, allocations: 4 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3187, allocations: 0 / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.3187, allocations: 8 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.3188, allocations: 149.7 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.3189, allocations: 34.45 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.3189, allocations: 8.797 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/0.3197, allocations: 0.613 MB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3197, allocations: 38.5 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3197, allocations: 0 / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001313/0.3198, allocations: 41.69 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.3199, allocations: 51.41 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.3199, allocations: 101.8 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3199, allocations: 25.7 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.32, allocations: 80.27 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.32, allocations: 11.95 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.32, allocations: 17.7 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3202, allocations: 310.8 kB / 1.307 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.3202, allocations: 4 kB / 1.307 GB, free: 13.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.3202, allocations: 0 / 1.307 GB, free: 13.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.3202, allocations: 20.86 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3202, allocations: 0 / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.121e-05/0.3203, allocations: 45.69 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3203, allocations: 4 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3203, allocations: 0 / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3203, allocations: 4 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.567e-05/0.3203, allocations: 3.938 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3204, allocations: 0 / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.3204, allocations: 8 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3204, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 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 6.985e-05/0.3204, allocations: 109.8 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.3205, allocations: 11.92 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.016e-05/0.3205, allocations: 48.81 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3205, allocations: 0 / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3205, allocations: 0 / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.3206, allocations: 0 / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3207, allocations: 157.6 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3207, allocations: 0 / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.3207, allocations: 4 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.3207, allocations: 3.938 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3207, allocations: 3.938 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3207, allocations: 4.031 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3207, allocations: 0 / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.265e-05/0.3208, allocations: 69.06 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.3208, allocations: 77.11 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3208, allocations: 0 / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.3208, allocations: 0 / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.3209, allocations: 3.984 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.3209, allocations: 4.031 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.3209, allocations: 79.28 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3209, allocations: 3.938 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001878/0.3211, allocations: 19.94 kB / 1.308 GB, free: 12.77 MB / 1.014 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.0004189/0.3215, allocations: 0.6162 MB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.126e-05/0.3216, allocations: 12.03 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3216, allocations: 0 / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.3216, allocations: 8 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3218, allocations: 5.547 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009498/0.3228, allocations: 1.103 MB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.323, allocations: 0.6768 MB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.3231, allocations: 8.062 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.3231, allocations: 7.438 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.3231, allocations: 0 / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.3454, allocations: 1.439 MB / 1.312 GB, free: 8.867 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/7.989, allocations: 4.625 kB / 1.312 GB, free: 8.867 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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: 14.055973975919187]