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.0008955/0.0008955, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.004884/0.004884, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.368/2.368, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 11.23 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2309, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001132/0.232, allocations: 1.025 MB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004939/0.2325, allocations: 307 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.2326, allocations: 4 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.2326, allocations: 0 / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.2327, allocations: 11.92 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.2329, allocations: 59.78 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.233, allocations: 39.8 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.233, allocations: 4 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.2331, allocations: 27.86 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.2331, allocations: 11.92 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2332, allocations: 4 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.2333, allocations: 79.91 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.2333, allocations: 7.938 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.2333, allocations: 41.64 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.2335, allocations: 72.06 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2335, allocations: 0 / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2335, allocations: 0 / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.135e-06/0.2335, allocations: 4 kB / 1.06 GB, free: 3.207 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.0002802/0.2338, allocations: 343.5 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2338, allocations: 11.97 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.2339, allocations: 34.73 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.2339, allocations: 4.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/0.234, allocations: 168.3 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.234, allocations: 4.375 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.234, allocations: 8.375 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/0.2341, allocations: 49.55 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-06/0.2341, allocations: 0 / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.2341, allocations: 0 / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2341, allocations: 0 / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.262e-05/0.2342, allocations: 12 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.2343, allocations: 161.7 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.2344, allocations: 34.64 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.2344, allocations: 4.859 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009157/0.2353, allocations: 1.199 MB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2354, allocations: 34.5 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2354, allocations: 0 / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001191/0.2355, allocations: 53.69 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2355, allocations: 51.41 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.2356, allocations: 105.8 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2356, allocations: 29.7 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.2356, allocations: 84.12 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.2357, allocations: 15.75 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.2357, allocations: 13.72 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.2358, allocations: 314.8 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.2358, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.2358, allocations: 7.984 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.2359, allocations: 20.84 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2359, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.563e-05/0.2359, allocations: 49.58 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.2359, allocations: 4 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.236, allocations: 7.938 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.236, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.055e-05/0.236, allocations: 8 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.236, allocations: 320 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.236, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2361, allocations: 0 / 1.063 GB, free: 15.91 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 5.892e-05/0.2361, allocations: 117.8 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.2361, allocations: 3.938 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.2362, allocations: 65.89 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2362, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2363, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2363, allocations: 4.031 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.2364, allocations: 161.6 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2364, allocations: 3.938 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.2364, allocations: 8 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2364, allocations: 0 / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2364, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2364, allocations: 11.92 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2364, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.459e-05/0.2365, allocations: 69.06 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.2366, allocations: 85.05 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.2366, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.2366, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.2366, allocations: 7.984 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2366, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.2367, allocations: 87.28 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2367, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001924/0.2369, allocations: 35.92 kB / 1.064 GB, free: 15.15 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.0003389/0.2372, allocations: 0.6396 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.987e-05/0.2373, allocations: 16 kB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2373, allocations: 0 / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.2373, allocations: 11.98 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.2375, allocations: 4 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.2378, allocations: 176.2 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.238, allocations: 0.677 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.238, allocations: 8 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.2381, allocations: 15.38 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2381, allocations: 3.938 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009711/0.2478, allocations: 1.43 MB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.248, allocations: 221.6 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.421/1.669, allocations: 0 / 1.067 GB, free: 11.99 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