Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_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.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001342/0.001342, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.438/2.438, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 65.56 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2265, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1679/0.3944, allocations: 190.4 MB / 1.238 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005259/0.3997, allocations: 4.061 MB / 1.242 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006252/0.4003, allocations: 19.88 kB / 1.242 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4014, allocations: 401.8 kB / 1.242 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.4042, allocations: 1.439 MB / 1.244 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.4068, allocations: 1.238 MB / 1.245 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4384/0.8452, allocations: 2.349 MB / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.8465, allocations: 0.8768 MB / 1.248 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.8478, allocations: 0.861 MB / 1.249 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008551/0.8486, allocations: 0.877 MB / 1.25 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.8488, allocations: 77.72 kB / 1.25 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.8509, allocations: 1.577 MB / 1.252 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.8511, allocations: 342.9 kB / 1.252 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004003/0.8515, allocations: 0.4902 MB / 1.252 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.8532, allocations: 1.706 MB / 1.254 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.8532, allocations: 0 / 1.254 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.01e-07/0.8532, allocations: 0 / 1.254 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.8532, allocations: 0 / 1.254 GB, free: 3.777 MB / 0.9981 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.002772/0.856, allocations: 1.446 MB / 1.255 GB, free: 19.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.8561, allocations: 14.62 kB / 1.255 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.8562, allocations: 88.45 kB / 1.256 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.8576, allocations: 243.7 kB / 1.256 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.8583, allocations: 0.5829 MB / 1.256 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.8584, allocations: 38.69 kB / 1.256 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.8585, allocations: 52.5 kB / 1.256 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.8598, allocations: 0.9683 MB / 1.257 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.8598, allocations: 6.812 kB / 1.257 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.8599, allocations: 22.94 kB / 1.257 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.8599, allocations: 30.73 kB / 1.257 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.8612, allocations: 0.9366 MB / 1.258 GB, free: 18.45 MB / 1.014 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.00457/0.8658, allocations: 4.263 MB / 1.263 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/0.8666, allocations: 0.5974 MB / 1.263 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.8673, allocations: 0.5148 MB / 1.264 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009602/0.8683, allocations: 0.8808 MB / 1.264 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.8683, allocations: 40.97 kB / 1.265 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001576/0.8699, allocations: 431.3 kB / 1.265 GB, free: 15.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.204e-06/0.8699, allocations: 0 / 1.265 GB, free: 15.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01711/0.8871, allocations: 3.839 MB / 1.269 GB, free: 14.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.8871, allocations: 64.25 kB / 1.269 GB, free: 14.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009361/0.888, allocations: 0.7051 MB / 1.269 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.8881, allocations: 36.2 kB / 1.269 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.8883, allocations: 323 kB / 1.27 GB, free: 14.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.8885, allocations: 176.4 kB / 1.27 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.8888, allocations: 152 kB / 1.27 GB, free: 14.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.8889, allocations: 329.7 kB / 1.27 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.8896, allocations: 394.7 kB / 1.271 GB, free: 13.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007955/0.8904, allocations: 486.2 kB / 1.271 GB, free: 13.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.8919, allocations: 0.9215 MB / 1.272 GB, free: 13.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8919, allocations: 1.625 kB / 1.272 GB, free: 13.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01065/0.9026, allocations: 2.56 MB / 1.275 GB, free: 13.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9026, allocations: 5.438 kB / 1.275 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9026, allocations: 2.188 kB / 1.275 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008923/0.9116, allocations: 1.733 MB / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.912, allocations: 95.61 kB / 1.276 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.9228, allocations: 6.656 MB / 1.283 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.9235, allocations: 38.2 kB / 1.283 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/0.9236, allocations: 46.92 kB / 1.283 GB, free: 10.75 MB / 1.014 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.0003529/0.924, allocations: 210.2 kB / 1.283 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.9242, allocations: 78.38 kB / 1.283 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004697/0.9289, allocations: 1.74 MB / 1.285 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.9289, allocations: 5.438 kB / 1.285 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9289, allocations: 3.312 kB / 1.285 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.9289, allocations: 3.844 kB / 1.285 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.934, allocations: 2.536 MB / 1.287 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.934, allocations: 4.812 kB / 1.287 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.9344, allocations: 87.72 kB / 1.288 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.9376, allocations: 0.8029 MB / 1.288 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.9377, allocations: 14.09 kB / 1.288 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/0.9433, allocations: 4.488 MB / 1.293 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9433, allocations: 2.156 kB / 1.293 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/0.9479, allocations: 2.147 MB / 1.295 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.9482, allocations: 232.2 kB / 1.295 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.9483, allocations: 16.69 kB / 1.295 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.9489, allocations: 29.53 kB / 1.295 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.949, allocations: 57.38 kB / 1.295 GB, free: 6.969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.9491, allocations: 20.92 kB / 1.295 GB, free: 6.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000508/0.9496, allocations: 0.4952 MB / 1.296 GB, free: 6.875 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9496, allocations: 0 / 1.296 GB, free: 6.875 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008705/0.9505, allocations: 288.9 kB / 1.296 GB, free: 6.863 MB / 1.014 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.005193/0.9557, allocations: 2.818 MB / 1.299 GB, free: 6.012 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003/0.9587, allocations: 1.456 MB / 1.3 GB, free: 5.719 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.9587, allocations: 0 / 1.3 GB, free: 5.719 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.9602, allocations: 0.9125 MB / 1.301 GB, free: 5.453 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.962, allocations: 448.7 kB / 1.301 GB, free: 5.422 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/0.9889, allocations: 10.91 MB / 1.312 GB, free: 2.566 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.9893, allocations: 0.9747 MB / 1.313 GB, free: 1.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006262/0.99, allocations: 163.8 kB / 1.313 GB, free: 1.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.9903, allocations: 278.7 kB / 1.313 GB, free: 1.812 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.9903, allocations: 0 / 1.313 GB, free: 1.812 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/1.031, allocations: 28.35 MB / 1.341 GB, free: 7.129 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/1.031, allocations: 260.3 kB / 1.341 GB, free: 6.777 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.43, allocations: 0 / 1.341 GB, free: 6.777 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches