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.001891/0.001891, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002285/0.002285, allocations: 219.7 kB / 22.25 MB, free: 5.105 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.789 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 3.072/3.072, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.001997/0.001997, allocations: 60.59 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002452/0.3351, allocations: 1.3 MB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005606/0.3357, allocations: 275 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.3357, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.3357, allocations: 7.938 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.3358, allocations: 15.91 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3361, allocations: 71.72 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.3362, allocations: 35.91 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.3362, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3364, allocations: 39.84 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.3364, allocations: 11.94 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3364, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3366, allocations: 79.91 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.3366, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.3366, allocations: 15.91 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3368, allocations: 84 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3368, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3368, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.3368, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 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.0004338/0.3373, allocations: 282.1 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3373, allocations: 8.031 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3373, allocations: 30.75 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3374, allocations: 4.938 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3375, allocations: 114.4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3375, allocations: 4.375 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3375, allocations: 12.12 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.3376, allocations: 71.31 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3377, allocations: 7.938 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3377, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3377, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.386e-05/0.3377, allocations: 7.984 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.3379, allocations: 132.8 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/0.338, allocations: 30.58 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.338, allocations: 20.78 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.3387, allocations: 139.9 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3387, allocations: 34.56 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3387, allocations: 3.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000171/0.3389, allocations: 49.69 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3389, allocations: 51.41 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.339, allocations: 105.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.339, allocations: 33.69 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.3391, allocations: 84.14 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3391, allocations: 11.91 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.3391, allocations: 13.72 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3393, allocations: 318.8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.3393, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.3393, allocations: 7.984 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.3394, allocations: 16.86 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3394, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.242e-05/0.3394, allocations: 49.62 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3395, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3395, allocations: 4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3395, allocations: 0 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.3395, allocations: 4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3395, allocations: 7.938 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.3395, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.3396, allocations: 0 / 1.329 GB, free: 13.71 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.676e-05/0.3396, allocations: 110.4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3397, allocations: 11.88 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.3398, allocations: 61.69 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3398, allocations: 384 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3398, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3398, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3399, allocations: 140.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3399, allocations: 3.984 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.34, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.34, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.34, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.34, allocations: 3.938 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.34, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.3401, allocations: 77.02 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.3401, allocations: 7.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3401, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.3402, allocations: 4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.3402, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3402, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.3403, allocations: 91.27 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3403, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002278/0.3405, allocations: 31.81 kB / 1.33 GB, free: 13.07 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.0004769/0.341, allocations: 0.6473 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.341, allocations: 16 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3411, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.3411, allocations: 7.938 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.3413, allocations: 11.92 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.3417, allocations: 163.8 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.3417, allocations: 67.34 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.831e-05/0.3418, allocations: 8.547 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.3418, allocations: 11.44 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3418, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.3695, allocations: 2.158 MB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.81, allocations: 11.17 kB / 1.333 GB, free: 10.02 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.195487349992618]