Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000846/0.0008458, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009123/0.0009125, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004553, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.804/0.8045, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.0008309/0.8054, allocations: 390.4 kB / 0.9542 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.8062, allocations: 0.7973 MB / 0.955 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.8062, allocations: 0 / 0.955 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.8062, allocations: 1.469 kB / 0.955 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.8063, allocations: 3.938 kB / 0.955 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.8064, allocations: 5.438 kB / 0.955 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.8065, allocations: 20.73 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.8066, allocations: 1.219 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.8067, allocations: 15.2 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.8067, allocations: 7 kB / 0.9551 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.8067, allocations: 1.031 kB / 0.9551 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.8068, allocations: 1.438 kB / 0.9551 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.8068, allocations: 9.344 kB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.8068, allocations: 29.7 kB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.892e-05/0.8069, allocations: 15.25 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.8069, allocations: 1.062 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8069, allocations: 3.938 kB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.8069, allocations: 0 / 0.9551 GB, free: 7.074 MB / 0.7169 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.0003619/0.8072, allocations: 345.7 kB / 0.9555 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8073, allocations: 10.06 kB / 0.9555 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.8073, allocations: 30.56 kB / 0.9555 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.8074, allocations: 5.016 kB / 0.9555 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.8075, allocations: 169.2 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.8075, allocations: 0 / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.8075, allocations: 1.219 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.8077, allocations: 58.7 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.8077, allocations: 0 / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.8077, allocations: 0 / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.8077, allocations: 1.469 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.8079, allocations: 51.53 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.8081, allocations: 241.2 kB / 0.956 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.8083, allocations: 48.16 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.8084, allocations: 30.56 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.8084, allocations: 1.438 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.8084, allocations: 30.56 kB / 0.9561 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8084, allocations: 1.062 kB / 0.9561 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003287/0.8087, allocations: 106.7 kB / 0.9562 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.8088, allocations: 55.34 kB / 0.9563 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.369e-05/0.8088, allocations: 99 kB / 0.9564 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.8088, allocations: 29.7 kB / 0.9564 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.8089, allocations: 85.52 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.8089, allocations: 9.062 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.8089, allocations: 0 / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.809, allocations: 316.2 kB / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.809, allocations: 17.73 kB / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.8091, allocations: 26.22 kB / 0.9568 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.8092, allocations: 22.2 kB / 0.9568 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8092, allocations: 1.406 kB / 0.9568 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001678/0.8094, allocations: 77.84 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.8094, allocations: 4.062 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.8094, allocations: 1.094 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8094, allocations: 3.953 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.8095, allocations: 20.67 kB / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.8095, allocations: 0 / 0.9569 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.8096, allocations: 10.31 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.8096, allocations: 1.031 kB / 0.957 GB, free: 5.242 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.8096, allocations: 115.5 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.8097, allocations: 0.9688 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.8099, allocations: 84.2 kB / 0.9572 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8099, allocations: 1.219 kB / 0.9572 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.8099, allocations: 3.953 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.8099, allocations: 0 / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.81, allocations: 158.5 kB / 0.9573 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.81, allocations: 0 / 0.9573 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.8101, allocations: 16.42 kB / 0.9573 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.8101, allocations: 1.469 kB / 0.9573 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.8101, allocations: 3.938 kB / 0.9573 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8101, allocations: 4.031 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8101, allocations: 1.031 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.8104, allocations: 176.1 kB / 0.9575 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.8104, allocations: 78.55 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.8104, allocations: 1.281 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.8105, allocations: 13.11 kB / 0.9576 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.8105, allocations: 5.141 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.8105, allocations: 1.156 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.8106, allocations: 86.22 kB / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8106, allocations: 0 / 0.9577 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002099/0.8108, allocations: 3.812 kB / 0.9577 GB, free: 4.5 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/0.8112, allocations: 0.709 MB / 0.9584 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.8114, allocations: 47.17 kB / 0.9584 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8114, allocations: 0 / 0.9584 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.8115, allocations: 27.55 kB / 0.9584 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.8118, allocations: 2.25 kB / 0.9584 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.8122, allocations: 139.2 kB / 0.9586 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.8123, allocations: 0.6762 MB / 0.9592 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.8123, allocations: 5.031 kB / 0.9592 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.8124, allocations: 16.56 kB / 0.9593 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8124, allocations: 0 / 0.9593 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.8232, allocations: 1.015 MB / 0.9603 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.8234, allocations: 187.1 kB / 0.9604 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.512, allocations: 0 / 0.9604 GB, free: 2.203 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat does not exist to compare? outputFormat=mat