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.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.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.001191/0.001191, 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.00113/0.00113, allocations: 192.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.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.341/2.341, allocations: 461.9 MB / 0.7342 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 66.69 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2241, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002064/0.2262, allocations: 1.351 MB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004968/0.2267, allocations: 326.9 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.2267, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.2267, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.2268, allocations: 7.922 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2271, allocations: 55.84 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.2271, allocations: 43.8 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.2272, allocations: 4 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.2272, allocations: 27.86 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.2273, allocations: 11.92 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2273, allocations: 4 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.2275, allocations: 83.91 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.2275, allocations: 0 / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2275, allocations: 11.92 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.2276, allocations: 76.08 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2276, allocations: 0 / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2276, allocations: 0 / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.2277, allocations: 0 / 1.054 GB, free: 6.234 MB / 0.8106 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.0003155/0.228, allocations: 351.4 kB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.228, allocations: 15.97 kB / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.2281, allocations: 38.69 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.2281, allocations: 0.9375 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.2282, allocations: 172.3 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2282, allocations: 8.312 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-06/0.2282, allocations: 384 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.2283, allocations: 41.62 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.2283, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2283, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2283, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.2284, allocations: 19.98 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.2285, allocations: 153.7 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.2286, allocations: 38.5 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.2286, allocations: 12.91 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009503/0.2296, allocations: 1.191 MB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2296, allocations: 34.56 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2296, allocations: 0 / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001286/0.2297, allocations: 57.53 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2298, allocations: 51.41 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.2298, allocations: 105.8 kB / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2299, allocations: 29.7 kB / 1.056 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.2299, allocations: 84.08 kB / 1.056 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2299, allocations: 11.84 kB / 1.056 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.2299, allocations: 17.72 kB / 1.056 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.23, allocations: 310.8 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.2301, allocations: 7.984 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.2301, allocations: 8 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.2301, allocations: 12.86 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2301, allocations: 4 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.45e-05/0.2302, allocations: 49.56 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.2302, allocations: 8 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.2302, allocations: 0 / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.2302, allocations: 0 / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.38e-05/0.2303, allocations: 4 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2303, allocations: 320 / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.2303, allocations: 7.906 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.2303, allocations: 4 kB / 1.057 GB, free: 2.926 MB / 0.8106 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 5.771e-05/0.2304, allocations: 113.8 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.2304, allocations: 11.88 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2305, allocations: 61.52 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2305, allocations: 8 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2305, allocations: 0 / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2305, allocations: 0 / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.064e-05/0.2306, allocations: 153.7 kB / 1.057 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2306, allocations: 7.938 kB / 1.057 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.2307, allocations: 11.98 kB / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2307, allocations: 0 / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.2307, allocations: 0 / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2307, allocations: 0 / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2307, allocations: 0 / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.777e-05/0.2308, allocations: 73.41 kB / 1.057 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.2308, allocations: 89.03 kB / 1.057 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2309, allocations: 4 kB / 1.057 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.2309, allocations: 4 kB / 1.057 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2309, allocations: 4.031 kB / 1.057 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2309, allocations: 7.938 kB / 1.057 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.231, allocations: 87.27 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.231, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001944/0.2312, allocations: 27.94 kB / 1.058 GB, free: 2.168 MB / 0.8106 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.0003564/0.2315, allocations: 0.6398 MB / 1.058 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.2316, allocations: 15.98 kB / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2316, allocations: 7.875 kB / 1.058 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.2316, allocations: 8 kB / 1.058 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.2318, allocations: 4 kB / 1.058 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.2321, allocations: 181.3 kB / 1.058 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.2323, allocations: 0.6809 MB / 1.059 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.2324, allocations: 4 kB / 1.059 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.2324, allocations: 19.44 kB / 1.059 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.2324, allocations: 0 / 1.059 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7173/0.9497, allocations: 1.481 MB / 1.06 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.95, allocations: 229.7 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.572, allocations: 4.062 kB / 1.061 GB, free: 14.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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