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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8701, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002002/0.8721, allocations: 1.289 MB / 1.305 GB, free: 31.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004634/0.8726, allocations: 313.8 kB / 1.306 GB, free: 31.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.8726, allocations: 0 / 1.306 GB, free: 31.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.8726, allocations: 10.69 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.8727, allocations: 7.172 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.873, allocations: 83 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.8731, allocations: 37.89 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.8731, allocations: 2.562 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.8732, allocations: 26.88 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.8733, allocations: 16.03 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.8733, allocations: 2.875 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.8734, allocations: 81.17 kB / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.8734, allocations: 9.844 kB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.8734, allocations: 10.55 kB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.8736, allocations: 82.84 kB / 1.306 GB, free: 30.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.8736, allocations: 0 / 1.306 GB, free: 30.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8736, allocations: 0 / 1.306 GB, free: 30.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.8736, allocations: 0 / 1.306 GB, free: 30.9 MB / 1.061 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.0003288/0.8739, allocations: 354.4 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.874, allocations: 12.09 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.874, allocations: 37.66 kB / 1.306 GB, free: 30.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.874, allocations: 7.938 kB / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.189e-05/0.8741, allocations: 167.2 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.8741, allocations: 3.594 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.8741, allocations: 4.125 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.8742, allocations: 39.36 kB / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.8742, allocations: 0 / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.8742, allocations: 0 / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.8742, allocations: 0 / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.8743, allocations: 9.031 kB / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.8744, allocations: 167 kB / 1.307 GB, free: 30.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.8744, allocations: 29.45 kB / 1.307 GB, free: 30.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.8745, allocations: 15.67 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/0.8753, allocations: 1.184 MB / 1.308 GB, free: 28.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.8753, allocations: 33.84 kB / 1.308 GB, free: 28.63 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.8753, allocations: 0 / 1.308 GB, free: 28.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000141/0.8754, allocations: 57.7 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.8755, allocations: 51.41 kB / 1.308 GB, free: 28.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.498e-05/0.8755, allocations: 105.7 kB / 1.308 GB, free: 28.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.8755, allocations: 28.64 kB / 1.308 GB, free: 28.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/0.8755, allocations: 88.14 kB / 1.308 GB, free: 28.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.8755, allocations: 7.906 kB / 1.308 GB, free: 28.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.8756, allocations: 19.05 kB / 1.308 GB, free: 28.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.8756, allocations: 314.8 kB / 1.309 GB, free: 27.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.8756, allocations: 7.312 kB / 1.309 GB, free: 27.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-06/0.8756, allocations: 6.844 kB / 1.309 GB, free: 27.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.8757, allocations: 20.61 kB / 1.309 GB, free: 27.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8757, allocations: 0 / 1.309 GB, free: 27.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.602e-05/0.8757, allocations: 56.67 kB / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.8757, allocations: 5.812 kB / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8757, allocations: 0 / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.8758, allocations: 0 / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.8758, allocations: 5.938 kB / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.8758, allocations: 3.938 kB / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.8758, allocations: 3.938 kB / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.8758, allocations: 0 / 1.309 GB, free: 27.89 MB / 1.061 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.595e-05/0.8759, allocations: 116 kB / 1.309 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.8759, allocations: 18.45 kB / 1.309 GB, free: 27.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.876, allocations: 55.91 kB / 1.309 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.876, allocations: 0 / 1.309 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.876, allocations: 0 / 1.309 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.876, allocations: 3.281 kB / 1.309 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.713e-05/0.8761, allocations: 158.7 kB / 1.309 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.8761, allocations: 2.844 kB / 1.309 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.8761, allocations: 2.719 kB / 1.309 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8761, allocations: 4 kB / 1.309 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.8761, allocations: 3 kB / 1.309 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.8761, allocations: 0 / 1.309 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8761, allocations: 3.984 kB / 1.309 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.928e-05/0.8762, allocations: 78.23 kB / 1.309 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.8762, allocations: 84.09 kB / 1.309 GB, free: 27.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.8762, allocations: 3.422 kB / 1.309 GB, free: 27.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.8763, allocations: 3.938 kB / 1.309 GB, free: 27.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.8763, allocations: 6.875 kB / 1.309 GB, free: 27.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.8763, allocations: 4 kB / 1.309 GB, free: 27.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.8763, allocations: 87.45 kB / 1.309 GB, free: 27.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8763, allocations: 0 / 1.309 GB, free: 27.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001953/0.8765, allocations: 27.28 kB / 1.309 GB, free: 27.24 MB / 1.061 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.0002837/0.8768, allocations: 0.6362 MB / 1.31 GB, free: 26.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.065e-05/0.8769, allocations: 23.42 kB / 1.31 GB, free: 26.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8769, allocations: 0 / 1.31 GB, free: 26.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.8769, allocations: 9 kB / 1.31 GB, free: 26.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.8771, allocations: 2.812 kB / 1.31 GB, free: 26.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.8774, allocations: 177.9 kB / 1.31 GB, free: 26.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.8775, allocations: 0.6807 MB / 1.311 GB, free: 25.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.8775, allocations: 7 kB / 1.311 GB, free: 25.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.8775, allocations: 10.41 kB / 1.311 GB, free: 25.73 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8775, allocations: 0 / 1.311 GB, free: 25.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.9037, allocations: 1.646 MB / 1.312 GB, free: 25.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.495, allocations: 6.859 kB / 1.312 GB, free: 25.37 MB / 1.061 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.341346733272076]