Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001648, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001621/0.001621, allocations: 187 kB / 17.34 MB, free: 5.719 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 59.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9786/0.98, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2743/1.254, allocations: 192.6 MB / 1.277 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007884/1.262, allocations: 4.018 MB / 1.281 GB, free: 9.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/1.264, allocations: 15.94 kB / 1.281 GB, free: 9.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/1.265, allocations: 480.9 kB / 1.281 GB, free: 8.691 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004734/1.27, allocations: 1.516 MB / 1.283 GB, free: 7.168 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/1.275, allocations: 1.362 MB / 1.284 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003222/1.278, allocations: 1.639 MB / 1.286 GB, free: 4.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/1.28, allocations: 0.9451 MB / 1.286 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/1.282, allocations: 0.9267 MB / 1.287 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/1.284, allocations: 0.8526 MB / 1.288 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004818/1.284, allocations: 96 kB / 1.288 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/1.288, allocations: 1.313 MB / 1.29 GB, free: 8 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007648/1.289, allocations: 355 kB / 1.29 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/1.29, allocations: 0.5055 MB / 1.29 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00421/1.294, allocations: 1.628 MB / 1.292 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.294, allocations: 0 / 1.292 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.494e-06/1.294, allocations: 0 / 1.292 GB, free: 13.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.071e-05/1.295, allocations: 4 kB / 1.292 GB, free: 13.52 MB / 1.029 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.004362/1.299, allocations: 1.448 MB / 1.293 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.299, allocations: 12.03 kB / 1.293 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/1.301, allocations: 238.7 kB / 1.294 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.302, allocations: 0.6109 MB / 1.294 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/1.302, allocations: 41 kB / 1.294 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/1.302, allocations: 51.98 kB / 1.294 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/1.304, allocations: 0.9609 MB / 1.295 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.304, allocations: 3.938 kB / 1.295 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/1.304, allocations: 24 kB / 1.295 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/1.304, allocations: 27.98 kB / 1.295 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/1.306, allocations: 0.9483 MB / 1.296 GB, free: 8.992 MB / 1.029 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.006156/1.312, allocations: 4.258 MB / 1.3 GB, free: 4.559 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.313, allocations: 0.5938 MB / 1.301 GB, free: 3.957 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/1.314, allocations: 0.5214 MB / 1.301 GB, free: 3.434 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.315, allocations: 0.8783 MB / 1.302 GB, free: 2.371 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/1.315, allocations: 39 kB / 1.302 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001508/1.317, allocations: 411.1 kB / 1.303 GB, free: 1.918 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 6.653e-06/1.317, allocations: 4 kB / 1.303 GB, free: 1.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.01742/1.334, allocations: 3.838 MB / 1.307 GB, free: 14.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.334, allocations: 63.78 kB / 1.307 GB, free: 13.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.336, allocations: 0.7039 MB / 1.307 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.336, allocations: 33.7 kB / 1.307 GB, free: 13.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/1.336, allocations: 324.6 kB / 1.308 GB, free: 12.87 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/1.336, allocations: 173.4 kB / 1.308 GB, free: 12.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/1.337, allocations: 154 kB / 1.308 GB, free: 12.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.337, allocations: 330 kB / 1.308 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/1.337, allocations: 396.9 kB / 1.309 GB, free: 11.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/1.338, allocations: 481.5 kB / 1.309 GB, free: 11.33 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/1.34, allocations: 0.9258 MB / 1.31 GB, free: 10.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.34, allocations: 0 / 1.31 GB, free: 10.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0113/1.351, allocations: 2.56 MB / 1.312 GB, free: 7.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.351, allocations: 8 kB / 1.312 GB, free: 7.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.351, allocations: 0 / 1.312 GB, free: 7.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009326/1.361, allocations: 1.741 MB / 1.314 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/1.361, allocations: 95.86 kB / 1.314 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/1.375, allocations: 7.132 MB / 1.321 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/1.376, allocations: 23.98 kB / 1.321 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/1.376, allocations: 47.92 kB / 1.321 GB, free: 14.44 MB / 1.061 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.0005542/1.376, allocations: 206.3 kB / 1.322 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/1.377, allocations: 79.06 kB / 1.322 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/1.382, allocations: 1.741 MB / 1.323 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.382, allocations: 8 kB / 1.323 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.382, allocations: 4 kB / 1.323 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.382, allocations: 3.984 kB / 1.323 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006335/1.388, allocations: 2.543 MB / 1.326 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.388, allocations: 4 kB / 1.326 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/1.389, allocations: 88.14 kB / 1.326 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/1.392, allocations: 0.79 MB / 1.327 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/1.392, allocations: 23.98 kB / 1.327 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007109/1.399, allocations: 4.843 MB / 1.331 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.399, allocations: 4 kB / 1.331 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/1.405, allocations: 2.155 MB / 1.334 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006217/1.406, allocations: 224 kB / 1.334 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/1.406, allocations: 12 kB / 1.334 GB, free: 1.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/1.407, allocations: 23.98 kB / 1.334 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/1.407, allocations: 56.38 kB / 1.334 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/1.407, allocations: 23.98 kB / 1.334 GB, free: 1.172 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008572/1.408, allocations: 0.499 MB / 1.334 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.3e-07/1.408, allocations: 0 / 1.334 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001257/1.409, allocations: 295.7 kB / 1.335 GB, free: 396 kB / 1.061 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.000649/1.41, allocations: 219.1 kB / 1.335 GB, free: 172 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003819/1.414, allocations: 1.472 MB / 1.336 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.414, allocations: 0 / 1.336 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.415, allocations: 0.9147 MB / 1.337 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.418, allocations: 465.4 kB / 1.338 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/1.421, allocations: 1.754 MB / 1.339 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008707/1.422, allocations: 0.9828 MB / 1.34 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/1.422, allocations: 67.42 kB / 1.34 GB, free: 10.42 MB / 1.076 GB Notification: Performance of SimCode: time 7.52e-07/1.422, allocations: 0 / 1.34 GB, free: 10.42 MB / 1.076 GB Notification: Performance of Templates: time 0.03394/1.456, allocations: 19.36 MB / 1.359 GB, free: 7.18 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches