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.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 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.00119/0.00119, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.405/2.405, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.77 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2334, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002012/0.2355, allocations: 1.249 MB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002371/0.2357, allocations: 123.5 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.2358, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.2358, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.2358, allocations: 7.938 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.236, allocations: 39.88 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.172e-05/0.2361, allocations: 19.86 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.2361, allocations: 4 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.2361, allocations: 4 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.2362, allocations: 0 / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2362, allocations: 4 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2363, allocations: 55.94 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.2363, allocations: 3.938 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.2363, allocations: 7.984 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.2364, allocations: 39.89 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2364, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2365, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2365, allocations: 3.984 kB / 1.065 GB, free: 12.97 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002976/0.2368, allocations: 327.8 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2368, allocations: 8.031 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.2368, allocations: 42.69 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.2369, allocations: 8.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.237, allocations: 168.3 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.237, allocations: 4.312 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.237, allocations: 384 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.558e-05/0.2371, allocations: 37.62 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.2371, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.2371, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2371, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.2371, allocations: 8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.2372, allocations: 153.7 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.839e-05/0.2373, allocations: 26.55 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.2373, allocations: 8.922 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/0.238, allocations: 0.609 MB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.238, allocations: 34.56 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.238, allocations: 4 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001098/0.2381, allocations: 41.64 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.2381, allocations: 51.41 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.2382, allocations: 101.8 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.2382, allocations: 25.7 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.2382, allocations: 80.14 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2383, allocations: 3.906 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.2383, allocations: 17.72 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.2384, allocations: 315 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.2384, allocations: 7.984 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.2384, allocations: 3.938 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.2385, allocations: 16.86 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2385, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.998e-05/0.2385, allocations: 41.58 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.2385, allocations: 4 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.2386, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.2386, allocations: 4.094 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.107e-05/0.2386, allocations: 7.984 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2386, allocations: 3.984 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.2386, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.2387, allocations: 4 kB / 1.067 GB, free: 10.47 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 (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.109e-05/0.2387, allocations: 111.5 kB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.2387, allocations: 3.938 kB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.2388, allocations: 44.81 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2388, allocations: 8.031 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2388, allocations: 0 / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2388, allocations: 3.938 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.464e-05/0.2389, allocations: 153.7 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2389, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.239, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.239, allocations: 7.938 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.239, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.239, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.239, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.503e-05/0.2391, allocations: 69.03 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.2391, allocations: 85.05 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.2391, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.2391, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.2391, allocations: 192 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.2391, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.2392, allocations: 87.25 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2392, allocations: 32 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001823/0.2394, allocations: 24 kB / 1.068 GB, free: 9.777 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 (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.0003228/0.2397, allocations: 0.6129 MB / 1.068 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.025e-05/0.2398, allocations: 11.98 kB / 1.068 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2398, allocations: 8.031 kB / 1.068 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.2398, allocations: 11.94 kB / 1.068 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.24, allocations: 4 kB / 1.068 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.2407, allocations: 1.097 MB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.2409, allocations: 0.6768 MB / 1.07 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.241, allocations: 0 / 1.07 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.241, allocations: 15.44 kB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.241, allocations: 0 / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.2562, allocations: 1.398 MB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.452/6.709, allocations: 9.266 kB / 1.072 GB, free: 5.883 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_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_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/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