Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.02975/0.02976, allocations: 101.9 kB / 15.73 MB, free: 6.004 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.002332/0.002332, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.645/2.645, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 5.207/5.207, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 64.14 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545/1.548, allocations: 159.1 MB / 1.22 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.004229/1.553, allocations: 1.28 MB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00102/1.554, allocations: 302.9 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/1.554, allocations: 4 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/1.554, allocations: 0 / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/1.554, allocations: 11.92 kB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/1.555, allocations: 83.67 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000123/1.555, allocations: 35.84 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/1.555, allocations: 11.92 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/1.555, allocations: 19.98 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/1.555, allocations: 15.88 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/1.555, allocations: 4 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/1.555, allocations: 75.91 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/1.555, allocations: 11.94 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/1.556, allocations: 11.92 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/1.556, allocations: 75.44 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.556, allocations: 4 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/1.556, allocations: 0 / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.181e-06/1.556, allocations: 0 / 1.222 GB, free: 180 kB / 0.9356 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.000727/1.557, allocations: 359.2 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/1.557, allocations: 8.031 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/1.557, allocations: 34.73 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/1.557, allocations: 12.89 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/1.557, allocations: 168.4 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.557, allocations: 4.375 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/1.557, allocations: 8.125 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/1.557, allocations: 37.69 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.557, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/1.557, allocations: 4 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.557, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/1.558, allocations: 7.938 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/1.558, allocations: 157.7 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/1.558, allocations: 38.61 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/1.558, allocations: 16.86 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002158/1.56, allocations: 1.183 MB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/1.56, allocations: 34.56 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.464e-06/1.56, allocations: 4 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002765/1.561, allocations: 53.58 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.561, allocations: 51.41 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/1.561, allocations: 113.8 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/1.561, allocations: 25.7 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/1.561, allocations: 84.14 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/1.561, allocations: 7.891 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/1.561, allocations: 21.66 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002448/1.562, allocations: 322.8 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/1.562, allocations: 0 / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/1.562, allocations: 4 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/1.562, allocations: 20.8 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.562, allocations: 0 / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001493/1.562, allocations: 49.62 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/1.562, allocations: 4 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.562, allocations: 4 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.562, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/1.562, allocations: 11.98 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.562, allocations: 0 / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/1.562, allocations: 336 / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/1.562, allocations: 0 / 1.225 GB, free: 12.87 MB / 0.9512 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 0.0001305/1.562, allocations: 109.8 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.563, allocations: 3.938 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/1.563, allocations: 69.52 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.563, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.563, allocations: 7.922 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.563, allocations: 0 / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/1.563, allocations: 165.6 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.563, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/1.563, allocations: 4 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.563, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.563, allocations: 4 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.563, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.563, allocations: 3.938 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/1.564, allocations: 85 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/1.564, allocations: 89.05 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/1.564, allocations: 0 / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/1.564, allocations: 4 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/1.564, allocations: 0 / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/1.564, allocations: 0 / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.467e-05/1.564, allocations: 91.27 kB / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.81e-07/1.564, allocations: 4 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004702/1.565, allocations: 27.88 kB / 1.225 GB, free: 12.1 MB / 0.9512 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.0009045/1.566, allocations: 0.6363 MB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001555/1.566, allocations: 15.94 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.566, allocations: 4 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/1.566, allocations: 8 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/1.566, allocations: 11.98 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/1.567, allocations: 155.5 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/1.567, allocations: 0.6883 MB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.574e-05/1.568, allocations: 11.98 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/1.568, allocations: 7.438 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/1.568, allocations: 0 / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06543/1.633, allocations: 1.622 MB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/16.31, allocations: 24.83 kB / 1.229 GB, free: 8.941 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches