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.001306/0.001306, allocations: 109.2 kB / 16.46 MB, free: 6.508 MB / 14.72 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.001498/0.001498, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.346/1.346, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.948/2.948, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 66.88 kB / 1.149 GB, free: 26.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3213, allocations: 176.1 MB / 1.321 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002767/0.3241, allocations: 1.307 MB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006229/0.3247, allocations: 311.3 kB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.3247, allocations: 0 / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.3248, allocations: 3.984 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3249, allocations: 11.86 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.3252, allocations: 75.77 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3253, allocations: 39.8 kB / 1.323 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.3253, allocations: 4 kB / 1.323 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3254, allocations: 31.84 kB / 1.323 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.3255, allocations: 12 kB / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3255, allocations: 0 / 1.323 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.3257, allocations: 87.84 kB / 1.323 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.3257, allocations: 7.984 kB / 1.323 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.3257, allocations: 11.92 kB / 1.323 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3259, allocations: 76 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3259, allocations: 0 / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3259, allocations: 0 / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3259, allocations: 0 / 1.323 GB, free: 1.531 MB / 1.014 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.0004317/0.3264, allocations: 359.2 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3264, allocations: 11.98 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.3264, allocations: 38.75 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.3265, allocations: 0.9375 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3266, allocations: 172.3 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3266, allocations: 384 / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3266, allocations: 4.125 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3267, allocations: 41.69 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3268, allocations: 0 / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3268, allocations: 7.875 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3268, allocations: 0 / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.3268, allocations: 4 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.327, allocations: 165.6 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.911e-05/0.3271, allocations: 38.55 kB / 1.324 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.3271, allocations: 16.86 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.3284, allocations: 1.183 MB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3284, allocations: 30.56 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 2.905e-06/0.3284, allocations: 3.984 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001703/0.3286, allocations: 53.62 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3286, allocations: 51.41 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.3287, allocations: 109.8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3287, allocations: 29.7 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.3288, allocations: 84.14 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3288, allocations: 7.906 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.3288, allocations: 17.7 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.329, allocations: 314.8 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.329, allocations: 4 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.329, allocations: 4 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.329, allocations: 24.78 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.329, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.234e-05/0.3291, allocations: 49.64 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3291, allocations: 4 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3291, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3292, allocations: 7.984 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.3292, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3292, allocations: 320 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.3292, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3292, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 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 8.243e-05/0.3293, allocations: 109.8 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.3293, allocations: 11.89 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.3295, allocations: 69.5 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3295, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3295, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3295, allocations: 3.938 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3296, allocations: 165.6 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3296, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.3297, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3297, allocations: 4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3297, allocations: 4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3297, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3297, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3298, allocations: 80.95 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.3299, allocations: 85.09 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3299, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.3299, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.3299, allocations: 12.36 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3299, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.33, allocations: 91.27 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.33, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002263/0.3302, allocations: 27.88 kB / 1.326 GB, free: 13.46 MB / 1.029 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.0005236/0.3307, allocations: 0.6551 MB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.421e-05/0.3308, allocations: 12 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3308, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.3309, allocations: 8 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3311, allocations: 5.547 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.3315, allocations: 171.5 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3318, allocations: 0.6807 MB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.3318, allocations: 8 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.3319, allocations: 7.438 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.3319, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3563, allocations: 1.629 MB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.871, allocations: 6.938 kB / 1.329 GB, free: 10.3 MB / 1.029 GB " [Timeout remaining time 292] (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/jenkins1/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: 13.955653158016503]