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.001921/0.001921, allocations: 105.8 kB / 16.45 MB, free: 6.453 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.001816/0.001816, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.355/1.355, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.988/2.988, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.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: 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.003042/0.003042, allocations: 71.34 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3237, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002541/0.3262, allocations: 1.289 MB / 1.322 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003146/0.3265, allocations: 120 kB / 1.322 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.3265, allocations: 4 kB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.3266, allocations: 0 / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.3266, allocations: 0 / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.3268, allocations: 43.81 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.3269, allocations: 15.88 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.3269, allocations: 3.984 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.307e-05/0.327, allocations: 8 kB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.327, allocations: 4 kB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.327, allocations: 0 / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3272, allocations: 55.94 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.3272, allocations: 7.875 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.3272, allocations: 8 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.3273, allocations: 40.09 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3273, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3273, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3273, allocations: 0 / 1.322 GB, free: 1.742 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004158/0.3277, allocations: 339.3 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3278, allocations: 15.98 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.3278, allocations: 34.73 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.3278, allocations: 4.938 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.328, allocations: 160.4 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.328, allocations: 4.312 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.328, allocations: 4.125 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.648e-05/0.3281, allocations: 33.7 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3281, allocations: 0 / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3281, allocations: 3.984 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3281, allocations: 4 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.3281, allocations: 4 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3283, allocations: 149.7 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.3284, allocations: 34.59 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.3284, allocations: 8.797 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007159/0.3291, allocations: 0.6052 MB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3291, allocations: 34.56 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3291, allocations: 0 / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001671/0.3293, allocations: 45.64 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3293, allocations: 55.41 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.3294, allocations: 101.8 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3294, allocations: 25.7 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.3295, allocations: 84.14 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.3295, allocations: 3.938 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.3295, allocations: 21.78 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3296, allocations: 310.8 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.3297, allocations: 8 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.3297, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.3297, allocations: 12.84 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3297, allocations: 4 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.021e-05/0.3298, allocations: 45.59 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3298, allocations: 8.094 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3298, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3298, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.3299, allocations: 4 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3299, allocations: 3.938 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.3299, allocations: 7.938 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3299, allocations: 4 kB / 1.324 GB, free: 15.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 (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 7.606e-05/0.33, allocations: 109.8 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.33, allocations: 3.938 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/0.3301, allocations: 48.81 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3301, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3301, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3301, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3302, allocations: 153.6 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3302, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.3302, allocations: 3.984 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3302, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.3302, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3302, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3302, allocations: 7.969 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.106e-05/0.3303, allocations: 61.08 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3304, allocations: 89.05 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.3304, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.3304, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.3304, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3304, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.3304, allocations: 87.31 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3304, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000197/0.3306, allocations: 23.86 kB / 1.325 GB, free: 14.54 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 (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.0004348/0.3311, allocations: 0.6162 MB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.751e-05/0.3312, allocations: 16.03 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3312, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.3312, allocations: 4 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3314, allocations: 10.64 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000981/0.3324, allocations: 1.087 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3326, allocations: 0.6729 MB / 1.327 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.3327, allocations: 3.984 kB / 1.327 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.3327, allocations: 15.44 kB / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3327, allocations: 0 / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.3572, allocations: 1.448 MB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/7.78, allocations: 3.984 kB / 1.329 GB, free: 10.62 MB / 1.029 GB " [Timeout remaining time 292] (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/jenkins1/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: 13.928780677029863]