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) 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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006707/0.006707, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001536/0.001536, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2889, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002375/0.2913, allocations: 1.251 MB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.2916, allocations: 119.5 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.2917, allocations: 0 / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.2917, allocations: 3.938 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.2918, allocations: 7.984 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.292, allocations: 39.78 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.312e-05/0.2921, allocations: 15.92 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.2922, allocations: 8 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.2922, allocations: 7.938 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.2923, allocations: 7.984 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.2923, allocations: 0 / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.2924, allocations: 47.95 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.2924, allocations: 0 / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.2925, allocations: 11.92 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.2926, allocations: 39.94 kB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2926, allocations: 3.938 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2926, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2926, allocations: 4 kB / 1.209 GB, free: 8.586 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003849/0.293, allocations: 331.7 kB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2931, allocations: 12.62 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.2931, allocations: 30.75 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.2931, allocations: 0.9375 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2933, allocations: 160.4 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.2933, allocations: 8.375 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2933, allocations: 4.125 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.2934, allocations: 49.61 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2934, allocations: 0 / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.2934, allocations: 0 / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2934, allocations: 0 / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.2935, allocations: 4 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.2936, allocations: 153.7 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.2937, allocations: 18.58 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.2937, allocations: 20.86 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.2944, allocations: 0.6012 MB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2944, allocations: 38.5 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2944, allocations: 0 / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.2946, allocations: 37.7 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.2946, allocations: 51.41 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.2947, allocations: 97.97 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2947, allocations: 33.7 kB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.2947, allocations: 84.14 kB / 1.21 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.2948, allocations: 3.906 kB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.2948, allocations: 9.719 kB / 1.21 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2949, allocations: 326.8 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.2949, allocations: 0 / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.2949, allocations: 7.938 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.295, allocations: 12.92 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.295, allocations: 0 / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.51e-05/0.295, allocations: 41.64 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2951, allocations: 11.94 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2951, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2951, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.2952, allocations: 7.984 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2952, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.2952, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2952, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 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.675e-05/0.2953, allocations: 113.8 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.2953, allocations: 15.78 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/0.2954, allocations: 48.81 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2954, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2954, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2954, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.2955, allocations: 153.6 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2955, allocations: 0 / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.2955, allocations: 4 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2955, allocations: 4.031 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.2956, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2956, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2956, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.789e-05/0.2956, allocations: 73 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.2957, allocations: 77.11 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2957, allocations: 4 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.2957, allocations: 8.031 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.2957, allocations: 4 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2958, allocations: 0 / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.2958, allocations: 83.45 kB / 1.211 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.2958, allocations: 0 / 1.211 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001907/0.296, allocations: 16 kB / 1.211 GB, free: 5.406 MB / 0.9669 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.0003731/0.2964, allocations: 0.6176 MB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.815e-05/0.2965, allocations: 15.98 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2965, allocations: 0 / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.2965, allocations: 4 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2967, allocations: 7.938 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.2976, allocations: 1.107 MB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.2979, allocations: 0.6768 MB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.2979, allocations: 7.984 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.2979, allocations: 11.44 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.2979, allocations: 0 / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.3149, allocations: 1.444 MB / 1.215 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.292, allocations: 0 / 1.215 GB, free: 1.488 MB / 0.9669 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches