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.001857/0.001857, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002576/0.002576, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.023/3.023, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 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.002003/0.002003, allocations: 67.91 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 178.9 MB / 1.34 GB, free: 16.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002688/1.079, allocations: 1.313 MB / 1.341 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006678/1.08, allocations: 301.9 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/1.08, allocations: 0 / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/1.08, allocations: 0.75 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/1.08, allocations: 25.48 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/1.08, allocations: 74.47 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/1.08, allocations: 31.86 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/1.081, allocations: 2.703 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/1.081, allocations: 35.67 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/1.081, allocations: 18.77 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/1.081, allocations: 0.9375 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/1.081, allocations: 79.44 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/1.081, allocations: 1.969 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/1.081, allocations: 13.02 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/1.081, allocations: 77.34 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.081, allocations: 0 / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.747e-06/1.081, allocations: 5 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.081, allocations: 0 / 1.342 GB, free: 14.85 MB / 1.061 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.0004352/1.082, allocations: 356.6 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/1.082, allocations: 9.156 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/1.082, allocations: 10.31 kB / 1.342 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/1.082, allocations: 30.75 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/1.082, allocations: 3.438 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/1.082, allocations: 167.6 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.082, allocations: 5.656 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/1.082, allocations: 8.969 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/1.082, allocations: 43.47 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.082, allocations: 0 / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/1.082, allocations: 3.938 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/1.082, allocations: 1.094 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/1.082, allocations: 9.422 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/1.082, allocations: 159.7 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/1.082, allocations: 35.38 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/1.082, allocations: 13.34 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.083, allocations: 1.18 MB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.084, allocations: 40.33 kB / 1.344 GB, free: 12.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.084, allocations: 0 / 1.344 GB, free: 12.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001854/1.084, allocations: 52.17 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/1.084, allocations: 53.55 kB / 1.344 GB, free: 12.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/1.084, allocations: 106 kB / 1.344 GB, free: 12.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/1.084, allocations: 25.7 kB / 1.344 GB, free: 12.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/1.084, allocations: 86.31 kB / 1.344 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/1.084, allocations: 6.094 kB / 1.344 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/1.084, allocations: 18.55 kB / 1.344 GB, free: 12.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/1.084, allocations: 316.8 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/1.084, allocations: 3.484 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/1.084, allocations: 8.609 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/1.084, allocations: 16.69 kB / 1.345 GB, free: 11.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.084, allocations: 0 / 1.345 GB, free: 11.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.999e-05/1.084, allocations: 53.86 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.084, allocations: 5.781 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/1.084, allocations: 0 / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.084, allocations: 4.797 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/1.084, allocations: 5.609 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.084, allocations: 5.156 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/1.084, allocations: 3.938 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.084, allocations: 5.203 kB / 1.345 GB, free: 11.84 MB / 1.061 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 5.898e-05/1.084, allocations: 116.9 kB / 1.345 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/1.084, allocations: 3.422 kB / 1.345 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/1.084, allocations: 60.44 kB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.084, allocations: 1.625 kB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.084, allocations: 0.7031 kB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.084, allocations: 0 / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.801e-05/1.085, allocations: 164.7 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.085, allocations: 0.75 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/1.085, allocations: 4.953 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.085, allocations: 1.656 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/1.085, allocations: 0.6094 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.085, allocations: 0 / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.085, allocations: 6.281 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.042e-05/1.085, allocations: 85.39 kB / 1.345 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/1.085, allocations: 82.89 kB / 1.345 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/1.085, allocations: 4.516 kB / 1.345 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/1.085, allocations: 2.438 kB / 1.345 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/1.085, allocations: 3.031 kB / 1.345 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/1.085, allocations: 1.844 kB / 1.345 GB, free: 11.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.416e-05/1.085, allocations: 91.83 kB / 1.345 GB, free: 11.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.085, allocations: 0 / 1.345 GB, free: 11.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002113/1.085, allocations: 28.91 kB / 1.345 GB, free: 11.18 MB / 1.061 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.0003258/1.085, allocations: 0.6357 MB / 1.346 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001026/1.085, allocations: 15.33 kB / 1.346 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.085, allocations: 4 kB / 1.346 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.789e-05/1.085, allocations: 7.656 kB / 1.346 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/1.086, allocations: 3.5 kB / 1.346 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/1.086, allocations: 175.9 kB / 1.346 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/1.086, allocations: 0.6797 MB / 1.347 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.594e-05/1.086, allocations: 8.359 kB / 1.347 GB, free: 9.695 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.086, allocations: 9.766 kB / 1.347 GB, free: 9.688 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.086, allocations: 0 / 1.347 GB, free: 9.688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/1.105, allocations: 1.693 MB / 1.349 GB, free: 9.312 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/9.447, allocations: 9.203 kB / 1.349 GB, free: 9.309 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.1445522980066]