Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008666/0.0008667, allocations: 166.5 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006677/0.000668, allocations: 102.3 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002771, allocations: 12.44 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009702/0.1435, allocations: 1.152 MB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000191/0.1437, allocations: 112.5 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.1437, allocations: 4 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.1437, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.1438, allocations: 11.92 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.388e-05/0.1438, allocations: 8 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.1439, allocations: 43.84 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/0.1439, allocations: 9.031 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.144, allocations: 15.98 kB / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.919e-05/0.144, allocations: 15.92 kB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.144, allocations: 8 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.1441, allocations: 0 / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1441, allocations: 7.922 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.1441, allocations: 15.92 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.805e-05/0.1442, allocations: 43.8 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1442, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.21e-07/0.1442, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.1442, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003055/0.1445, allocations: 371.4 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.1445, allocations: 8.031 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.896e-05/0.1445, allocations: 34.75 kB / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.623e-05/0.1446, allocations: 4.922 kB / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.1446, allocations: 168.3 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-06/0.1446, allocations: 4.312 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.1446, allocations: 384 / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1448, allocations: 86.16 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.1448, allocations: 3.938 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.1449, allocations: 0 / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1449, allocations: 4 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.1451, allocations: 83.92 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1453, allocations: 272.9 kB / 0.8986 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1455, allocations: 70.47 kB / 0.8987 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1456, allocations: 48.92 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1456, allocations: 0 / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.938e-06/0.1456, allocations: 30.56 kB / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1456, allocations: 0 / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004391/0.1461, allocations: 173.5 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.1461, allocations: 55.34 kB / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.506e-05/0.1462, allocations: 109.8 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-06/0.1462, allocations: 29.7 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.1462, allocations: 84.14 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.1462, allocations: 19.83 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.1462, allocations: 9.719 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.1463, allocations: 318.8 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1464, allocations: 39.97 kB / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1465, allocations: 43.95 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.1468, allocations: 96.72 kB / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1468, allocations: 0 / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002577/0.147, allocations: 125.5 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.1471, allocations: 4 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1471, allocations: 0 / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.1471, allocations: 0 / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1472, allocations: 23.98 kB / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1472, allocations: 0 / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.1473, allocations: 23.92 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1473, allocations: 0 / 0.8999 GB, free: 64.08 MB / 0.6042 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 3.978e-05/0.1473, allocations: 117.8 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1473, allocations: 4 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.1474, allocations: 11.91 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1474, allocations: 0 / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1474, allocations: 0 / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-06/0.1474, allocations: 0 / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.574e-05/0.1475, allocations: 173.6 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1475, allocations: 0 / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.1476, allocations: 23.97 kB / 0.9002 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1476, allocations: 4 kB / 0.9002 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1476, allocations: 0 / 0.9002 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1476, allocations: 3.938 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1476, allocations: 0 / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1479, allocations: 227.3 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.1479, allocations: 85.09 kB / 0.9005 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1479, allocations: 0 / 0.9005 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.148, allocations: 19.98 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.148, allocations: 0 / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1481, allocations: 4 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.1481, allocations: 87.27 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001857/0.1483, allocations: 8 kB / 0.9006 GB, free: 63.23 MB / 0.6042 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.0004126/0.1487, allocations: 0.7595 MB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.149, allocations: 87.92 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.149, allocations: 0 / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1491, allocations: 44.11 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1493, allocations: 18.27 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.1496, allocations: 172.7 kB / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.509e-05/0.1497, allocations: 0.6809 MB / 0.9023 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.1498, allocations: 4 kB / 0.9023 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.1498, allocations: 11.44 kB / 0.9023 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of SimCode: time 4e-07/0.1498, allocations: 0 / 0.9023 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05991/0.2097, allocations: 1.303 MB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.2099, allocations: 221.4 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/1.609, allocations: 4 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)