Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001334, allocations: 196.8 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.746/2.746, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.852/2.852, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.00189, allocations: 63.91 kB / 0.8686 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.889, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2298/1.119, allocations: 190.4 MB / 1.203 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008236/1.127, allocations: 4.046 MB / 1.207 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/1.129, allocations: 19.88 kB / 1.207 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/1.131, allocations: 401.9 kB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/1.137, allocations: 1.451 MB / 1.208 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005409/1.142, allocations: 1.241 MB / 1.21 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00458/1.147, allocations: 2.347 MB / 1.212 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/1.149, allocations: 0.8793 MB / 1.213 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/1.152, allocations: 0.8681 MB / 1.214 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.155, allocations: 0.8683 MB / 1.214 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006426/1.155, allocations: 87.88 kB / 1.215 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004855/1.16, allocations: 1.566 MB / 1.216 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/1.161, allocations: 335 kB / 1.216 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/1.163, allocations: 0.5054 MB / 1.217 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005432/1.169, allocations: 1.702 MB / 1.219 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.801e-05/1.169, allocations: 0 / 1.219 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.905e-06/1.169, allocations: 3.938 kB / 1.219 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.573e-05/1.169, allocations: 0 / 1.219 GB, free: 3.289 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.005972/1.175, allocations: 1.448 MB / 1.22 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.915e-05/1.175, allocations: 12.03 kB / 1.22 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003684/1.175, allocations: 90.45 kB / 1.22 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/1.177, allocations: 238.8 kB / 1.22 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.179, allocations: 0.5954 MB / 1.221 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/1.179, allocations: 37 kB / 1.221 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/1.18, allocations: 55.91 kB / 1.221 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/1.182, allocations: 0.9559 MB / 1.222 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/1.182, allocations: 7.938 kB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.182, allocations: 20 kB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-05/1.182, allocations: 31.98 kB / 1.222 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/1.184, allocations: 0.9406 MB / 1.223 GB, free: 14.69 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008826/1.193, allocations: 4.254 MB / 1.227 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/1.194, allocations: 0.5978 MB / 1.228 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/1.195, allocations: 0.5149 MB / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/1.197, allocations: 0.886 MB / 1.229 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/1.197, allocations: 35 kB / 1.229 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002302/1.199, allocations: 427.1 kB / 1.229 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 1.278e-05/1.199, allocations: 4 kB / 1.229 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.02039/1.22, allocations: 3.837 MB / 1.233 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/1.22, allocations: 59.78 kB / 1.233 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.221, allocations: 0.7078 MB / 1.234 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003143/1.222, allocations: 37.7 kB / 1.234 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/1.222, allocations: 324.5 kB / 1.234 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/1.223, allocations: 177.4 kB / 1.234 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/1.223, allocations: 150 kB / 1.235 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.223, allocations: 330 kB / 1.235 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/1.224, allocations: 392.9 kB / 1.235 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009522/1.225, allocations: 485.5 kB / 1.236 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/1.227, allocations: 0.9219 MB / 1.237 GB, free: 76 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.227, allocations: 0 / 1.237 GB, free: 76 kB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01241/1.239, allocations: 2.556 MB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.487e-05/1.24, allocations: 8 kB / 1.239 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.24, allocations: 0 / 1.239 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/1.25, allocations: 1.738 MB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/1.251, allocations: 95.8 kB / 1.241 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/1.265, allocations: 6.669 MB / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.266, allocations: 28.05 kB / 1.247 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/1.267, allocations: 43.94 kB / 1.248 GB, free: 4.633 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007455/1.267, allocations: 217.6 kB / 1.248 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004746/1.268, allocations: 82.97 kB / 1.248 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/1.274, allocations: 1.738 MB / 1.25 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.274, allocations: 4 kB / 1.25 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.274, allocations: 4 kB / 1.25 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.274, allocations: 3.984 kB / 1.25 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7303/2.004, allocations: 2.539 MB / 1.252 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/2.004, allocations: 2.156 kB / 1.252 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/2.005, allocations: 91.53 kB / 1.252 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/2.009, allocations: 0.8037 MB / 1.253 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/2.009, allocations: 15.73 kB / 1.253 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007545/2.017, allocations: 4.477 MB / 1.257 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/2.017, allocations: 2.672 kB / 1.257 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006765/2.024, allocations: 2.151 MB / 1.259 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/2.024, allocations: 234.9 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/2.025, allocations: 15.14 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/2.025, allocations: 27.58 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/2.026, allocations: 56.28 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/2.026, allocations: 20.55 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008721/2.026, allocations: 0.4997 MB / 1.26 GB, free: 229 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.026, allocations: 0 / 1.26 GB, free: 229 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001639/2.028, allocations: 286.1 kB / 1.26 GB, free: 229 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00709/2.035, allocations: 2.806 MB / 1.263 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004614/2.04, allocations: 1.46 MB / 1.265 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/2.04, allocations: 1.094 kB / 1.265 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/2.043, allocations: 0.9214 MB / 1.266 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/2.046, allocations: 440.4 kB / 1.266 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04176/2.088, allocations: 10.92 MB / 1.277 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/2.089, allocations: 0.9819 MB / 1.278 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0013/2.09, allocations: 156.8 kB / 1.278 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/2.09, allocations: 285 kB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.693e-06/2.09, allocations: 4 kB / 1.278 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05634/2.147, allocations: 28.33 MB / 1.306 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/2.147, allocations: 268 kB / 1.306 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/4.829, allocations: 0 / 1.306 GB, free: 198.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches