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.001272/0.001272, allocations: 107 kB / 16.4 MB, free: 6.031 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.001267/0.001267, allocations: 191.7 kB / 19.35 MB, free: 3.602 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.338/1.338, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.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.924/2.924, allocations: 489 MB / 0.7678 GB, free: 29.12 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.001822/0.001822, allocations: 67.89 kB / 1.101 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.7155, allocations: 163.8 MB / 1.261 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002282/0.7178, allocations: 1.297 MB / 1.262 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005339/0.7184, allocations: 302.9 kB / 1.263 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.7184, allocations: 0 / 1.263 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.7184, allocations: 3.984 kB / 1.263 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.7186, allocations: 15.86 kB / 1.263 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.7188, allocations: 67.8 kB / 1.263 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.7189, allocations: 43.83 kB / 1.263 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.719, allocations: 4 kB / 1.263 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.7191, allocations: 27.86 kB / 1.263 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.7191, allocations: 15.92 kB / 1.263 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.7191, allocations: 0 / 1.263 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.7193, allocations: 79.91 kB / 1.263 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.7193, allocations: 11.94 kB / 1.263 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.7194, allocations: 7.938 kB / 1.263 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.7195, allocations: 74.59 kB / 1.263 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7195, allocations: 4 kB / 1.263 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7195, allocations: 0 / 1.263 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.7196, allocations: 0 / 1.263 GB, free: 5.152 MB / 0.9669 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.0004071/0.72, allocations: 359.2 kB / 1.263 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.72, allocations: 12.03 kB / 1.263 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.72, allocations: 30.75 kB / 1.263 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.7201, allocations: 4.938 kB / 1.263 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.7202, allocations: 172.3 kB / 1.263 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.7202, allocations: 384 / 1.263 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.7202, allocations: 4.125 kB / 1.263 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.7203, allocations: 41.69 kB / 1.264 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7204, allocations: 3.938 kB / 1.264 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.7204, allocations: 0 / 1.264 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.7204, allocations: 0 / 1.264 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.7204, allocations: 11.98 kB / 1.264 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.7206, allocations: 161.7 kB / 1.264 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.7207, allocations: 26.58 kB / 1.264 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.7207, allocations: 20.84 kB / 1.264 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.7219, allocations: 1.183 MB / 1.265 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.7219, allocations: 34.55 kB / 1.265 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.722, allocations: 3.938 kB / 1.265 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.7221, allocations: 53.78 kB / 1.265 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.7222, allocations: 59.33 kB / 1.265 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.7223, allocations: 105.8 kB / 1.265 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.7223, allocations: 29.7 kB / 1.265 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.7223, allocations: 88.14 kB / 1.265 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.7224, allocations: 7.891 kB / 1.265 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.7224, allocations: 13.72 kB / 1.265 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7225, allocations: 314.8 kB / 1.266 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.7226, allocations: 7.984 kB / 1.266 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.7226, allocations: 7.984 kB / 1.266 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.7226, allocations: 20.8 kB / 1.266 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7226, allocations: 0 / 1.266 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.98e-05/0.7227, allocations: 53.58 kB / 1.266 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.7227, allocations: 8 kB / 1.266 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7227, allocations: 0 / 1.266 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7228, allocations: 0 / 1.266 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.7228, allocations: 4 kB / 1.266 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7228, allocations: 4 kB / 1.266 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.7228, allocations: 0 / 1.266 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.7229, allocations: 0 / 1.266 GB, free: 1.848 MB / 0.9669 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 7.781e-05/0.7229, allocations: 109.8 kB / 1.266 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.723, allocations: 11.94 kB / 1.266 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.7231, allocations: 61.53 kB / 1.266 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.7231, allocations: 0 / 1.266 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7231, allocations: 0 / 1.266 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7231, allocations: 0 / 1.266 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.7233, allocations: 161.6 kB / 1.266 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7233, allocations: 0 / 1.266 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.7233, allocations: 11.98 kB / 1.266 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.7233, allocations: 0 / 1.266 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.7233, allocations: 4 kB / 1.266 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7233, allocations: 0 / 1.266 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7233, allocations: 0 / 1.266 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.989e-05/0.7234, allocations: 84.95 kB / 1.266 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.7235, allocations: 81.11 kB / 1.266 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7235, allocations: 7.922 kB / 1.266 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.7236, allocations: 0 / 1.266 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.7236, allocations: 0 / 1.266 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.7236, allocations: 12 kB / 1.266 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.7237, allocations: 83.58 kB / 1.266 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7237, allocations: 0 / 1.266 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000198/0.7239, allocations: 27.88 kB / 1.266 GB, free: 1.094 MB / 0.9669 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.0004795/0.7243, allocations: 0.6434 MB / 1.267 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.7244, allocations: 24.27 kB / 1.267 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7245, allocations: 0 / 1.267 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.7245, allocations: 8 kB / 1.267 GB, free: 400 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.7247, allocations: 4.188 kB / 1.267 GB, free: 396 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.7251, allocations: 167.4 kB / 1.267 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.7254, allocations: 0.6806 MB / 1.268 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.7254, allocations: 12.22 kB / 1.268 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.7255, allocations: 11.44 kB / 1.268 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.7255, allocations: 0 / 1.268 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.746, allocations: 1.635 MB / 1.269 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/8.145, allocations: 4 kB / 1.269 GB, free: 13.96 MB / 0.9825 GB " [Timeout remaining time 292] (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: 13.765045122010633]