Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001165/0.001165, 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.001285/0.001285, 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.941/0.941, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.773/1.773, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.9809 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.321e-05, allocations: 6.219 kB / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003035/0.003059, allocations: 1.275 MB / 0.9822 GB, free: 164 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0003523/0.003411, allocations: 107.6 kB / 0.9823 GB, free: 56 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.003445, allocations: 0 / 0.9823 GB, free: 56 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.003469, allocations: 7.984 kB / 0.9823 GB, free: 48 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.003549, allocations: 0 / 0.9823 GB, free: 48 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.003834, allocations: 43.81 kB / 0.9823 GB, free: 4 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.284e-05/0.003927, allocations: 7.984 kB / 0.9824 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.003986, allocations: 4 kB / 0.9824 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.004033, allocations: 11.94 kB / 0.9824 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.004097, allocations: 3.938 kB / 0.9824 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004115, allocations: 4 kB / 0.9824 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.004265, allocations: 51.94 kB / 0.9824 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.004281, allocations: 3.938 kB / 0.9824 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.004302, allocations: 4 kB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.004493, allocations: 43.86 kB / 0.9825 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.004502, allocations: 0 / 0.9825 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.134e-06/0.004504, allocations: 0 / 0.9825 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.004512, allocations: 4 kB / 0.9825 GB, free: 15.87 MB / 0.9011 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.0006399/0.005152, allocations: 258.2 kB / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.005216, allocations: 12.03 kB / 0.9827 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.005264, allocations: 30.75 kB / 0.9828 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.005296, allocations: 4.938 kB / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.005437, allocations: 117.7 kB / 0.9829 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.005455, allocations: 4.375 kB / 0.9829 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.005466, allocations: 4.312 kB / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.005587, allocations: 38.02 kB / 0.9829 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.005599, allocations: 0 / 0.9829 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.005609, allocations: 0 / 0.9829 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005615, allocations: 0 / 0.9829 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.005669, allocations: 11.92 kB / 0.9829 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.00586, allocations: 124.8 kB / 0.9831 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.397e-05/0.005934, allocations: 22.61 kB / 0.9831 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.005961, allocations: 12.92 kB / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.006425, allocations: 83.91 kB / 0.9832 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.006525, allocations: 34.5 kB / 0.9832 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.006527, allocations: 0 / 0.9832 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001916/0.006719, allocations: 45.64 kB / 0.9833 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.006758, allocations: 51.41 kB / 0.9833 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.006837, allocations: 101.8 kB / 0.9834 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006849, allocations: 29.83 kB / 0.9834 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.006883, allocations: 80.14 kB / 0.9835 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.006913, allocations: 3.953 kB / 0.9835 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.006948, allocations: 13.72 kB / 0.9835 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.007055, allocations: 314.8 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.007073, allocations: 7.984 kB / 0.9838 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.007085, allocations: 4 kB / 0.9838 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.007128, allocations: 12.86 kB / 0.9838 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.007131, allocations: 0 / 0.9838 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.34e-05/0.007224, allocations: 41.7 kB / 0.9839 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.007248, allocations: 10.44 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.007259, allocations: 4 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.007283, allocations: 0 / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.007366, allocations: 3.984 kB / 0.9839 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.007375, allocations: 4 kB / 0.9839 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.007397, allocations: 0 / 0.9839 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007404, allocations: 0 / 0.9839 GB, free: 14.22 MB / 0.9011 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 9.241e-05/0.007496, allocations: 109.8 kB / 0.984 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.007508, allocations: 11.88 kB / 0.984 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.007619, allocations: 52.97 kB / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.007622, allocations: 0 / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.007627, allocations: 0 / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007631, allocations: 0 / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.007905, allocations: 116.8 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.00791, allocations: 0 / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.007968, allocations: 7.984 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.007976, allocations: 3.938 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.007986, allocations: 3.938 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.00799, allocations: 0 / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.007994, allocations: 4 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.00813, allocations: 69.11 kB / 0.9843 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.008147, allocations: 4 kB / 0.9843 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.008163, allocations: 7.938 kB / 0.9843 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.008178, allocations: 4 kB / 0.9843 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.008196, allocations: 0 / 0.9843 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.008201, allocations: 0 / 0.9843 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.008243, allocations: 83.22 kB / 0.9844 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.008243, allocations: 0 / 0.9844 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001586/0.008402, allocations: 19.92 kB / 0.9844 GB, free: 13.66 MB / 0.9011 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.0003491/0.008751, allocations: 0.623 MB / 0.985 GB, free: 13 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 9.612e-05/0.008847, allocations: 12 kB / 0.985 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.00885, allocations: 0 / 0.985 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/0.008859, allocations: 7.938 kB / 0.985 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.009155, allocations: 7.984 kB / 0.985 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.009965, allocations: 1.098 MB / 0.9861 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.744e-05/0.01001, allocations: 63.56 kB / 0.9861 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.01004, allocations: 0 / 0.9861 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.01007, allocations: 12.88 kB / 0.9862 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of SimCode: time 7.42e-07/0.01007, allocations: 0 / 0.9862 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.02374, allocations: 2.106 MB / 0.9882 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.641, allocations: 8.75 kB / 0.9882 GB, free: 9.715 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.738123874180019]