Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008267/0.0008267, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9414/0.9414, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.784/1.784, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.103e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001364/0.001375, allocations: 1.309 MB / 0.9822 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003523/0.001727, allocations: 275 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.00175, allocations: 4 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.001766, allocations: 0 / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.963e-05/0.001846, allocations: 15.86 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.002068, allocations: 67.72 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.002131, allocations: 43.84 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.002164, allocations: 0 / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.00227, allocations: 43.89 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.002306, allocations: 4 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.002319, allocations: 0 / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.002422, allocations: 75.91 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.002435, allocations: 4 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.002453, allocations: 11.94 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.002583, allocations: 95.73 kB / 0.9828 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002585, allocations: 0 / 0.9828 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002586, allocations: 0 / 0.9828 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.00259, allocations: 0 / 0.9828 GB, free: 0.625 MB / 0.9323 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.0002806/0.002871, allocations: 282 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.002906, allocations: 12.03 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.002932, allocations: 34.73 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.002954, allocations: 4.891 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.441e-05/0.003018, allocations: 113.7 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.003027, allocations: 384 / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.003033, allocations: 8.375 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.003122, allocations: 75.62 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003129, allocations: 4 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.003136, allocations: 0 / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.00314, allocations: 4 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.003169, allocations: 8 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.003285, allocations: 128.8 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.003352, allocations: 38.55 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.003368, allocations: 8.859 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.003741, allocations: 143.9 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.00376, allocations: 38.5 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.003761, allocations: 0 / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001174/0.003879, allocations: 53.58 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.003903, allocations: 55.41 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.696e-05/0.00395, allocations: 105.8 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.00396, allocations: 29.7 kB / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.028e-05/0.00398, allocations: 80.14 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.004, allocations: 11.95 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.004023, allocations: 17.67 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.00409, allocations: 318.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.004101, allocations: 4 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.004108, allocations: 0 / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.004134, allocations: 16.86 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004135, allocations: 0 / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.221e-05/0.004178, allocations: 49.62 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.004188, allocations: 11.94 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.004192, allocations: 4 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.004202, allocations: 0 / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.628e-05/0.004238, allocations: 7.984 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.004242, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.004252, allocations: 4 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.004257, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 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 4.721e-05/0.004304, allocations: 105.8 kB / 0.9845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.004311, allocations: 7.938 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/0.004396, allocations: 65.95 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.004397, allocations: 3.938 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.004401, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.004408, allocations: 4.031 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.571e-05/0.004474, allocations: 132.7 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004474, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.004488, allocations: 7.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.004491, allocations: 3.938 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.004496, allocations: 0 / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004497, allocations: 0 / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004497, allocations: 4.312 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.00455, allocations: 73.12 kB / 0.9848 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.00458, allocations: 11.94 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.004589, allocations: 3.938 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/0.004613, allocations: 11.98 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.004624, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.004628, allocations: 3.938 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.65e-05/0.004654, allocations: 95.2 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004654, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001437/0.004798, allocations: 31.86 kB / 0.985 GB, free: 14.15 MB / 0.948 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.0002691/0.005067, allocations: 0.6396 MB / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.005129, allocations: 11.98 kB / 0.9856 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00513, allocations: 3.938 kB / 0.9856 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.00514, allocations: 12 kB / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.005276, allocations: 3.938 kB / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.005555, allocations: 158.3 kB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.005589, allocations: 63.34 kB / 0.9859 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.005616, allocations: 8 kB / 0.9859 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.00564, allocations: 16.5 kB / 0.9859 GB, free: 13.15 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.00564, allocations: 0 / 0.9859 GB, free: 13.15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.01881, allocations: 2.288 MB / 0.9881 GB, free: 11 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/6.694, allocations: 2.922 kB / 0.9881 GB, free: 11 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.752793117426336]