Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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.001208/0.001208, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001225, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.395/2.395, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.34 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2768, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002333/0.2792, allocations: 1.3 MB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.2798, allocations: 299 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.2798, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.2798, allocations: 3.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.2799, allocations: 15.91 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2802, allocations: 75.72 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.2803, allocations: 31.86 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.2803, allocations: 8 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.2804, allocations: 23.92 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.2805, allocations: 15.92 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2805, allocations: 0 / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2807, allocations: 83.91 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.2807, allocations: 11.92 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.2807, allocations: 7.938 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.2809, allocations: 80.06 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2809, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2809, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2809, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 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.0003789/0.2813, allocations: 351.4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2814, allocations: 8.031 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2814, allocations: 34.75 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.2814, allocations: 4.844 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2815, allocations: 168.4 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2816, allocations: 384 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.2816, allocations: 384 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.2817, allocations: 49.56 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.2817, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.2817, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2817, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.2817, allocations: 15.98 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.2819, allocations: 153.7 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.282, allocations: 42.5 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.282, allocations: 12.91 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.2831, allocations: 1.183 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2831, allocations: 42.48 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2832, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.2833, allocations: 53.59 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2833, allocations: 55.41 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.2834, allocations: 113.8 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2834, allocations: 25.7 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.2835, allocations: 80.14 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.2835, allocations: 15.84 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.2835, allocations: 17.72 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2836, allocations: 310.8 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.2837, allocations: 7.984 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.2837, allocations: 7.938 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.2837, allocations: 12.86 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2837, allocations: 0 / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.866e-05/0.2838, allocations: 53.53 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2838, allocations: 8 kB / 1.068 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2838, allocations: 4 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.2839, allocations: 0 / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.2839, allocations: 8 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2839, allocations: 0 / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.2839, allocations: 0 / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.2839, allocations: 4 kB / 1.068 GB, free: 9.277 MB / 0.8262 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 6.905e-05/0.284, allocations: 117.8 kB / 1.068 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.284, allocations: 7.938 kB / 1.068 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.2842, allocations: 57.59 kB / 1.068 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2842, allocations: 0 / 1.068 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2842, allocations: 4 kB / 1.068 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2842, allocations: 0 / 1.068 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.472e-05/0.2843, allocations: 157.7 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2843, allocations: 3.938 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.2843, allocations: 11.98 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2844, allocations: 3.938 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.2844, allocations: 4 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2844, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2844, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.597e-05/0.2845, allocations: 77.34 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.2845, allocations: 85.05 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2845, allocations: 3.984 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.2846, allocations: 4 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.2846, allocations: 4.031 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.2846, allocations: 8 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.2847, allocations: 87.27 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2847, allocations: 0 / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002/0.2849, allocations: 27.94 kB / 1.069 GB, free: 8.52 MB / 0.8262 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.0004083/0.2853, allocations: 0.644 MB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.801e-05/0.2854, allocations: 19.98 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2854, allocations: 0 / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.2854, allocations: 8 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.2856, allocations: 4 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.2859, allocations: 167.7 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2862, allocations: 0.6807 MB / 1.07 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.066e-05/0.2862, allocations: 4 kB / 1.07 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.2863, allocations: 15.44 kB / 1.07 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2863, allocations: 0 / 1.07 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.3014, allocations: 1.616 MB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/6.666, allocations: 7.281 kB / 1.072 GB, free: 5.391 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches