Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.000801/0.0008008, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008685/0.0008686, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.203 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.43/2.43, allocations: 390.4 MB / 0.6655 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.000309, allocations: 12 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8913, allocations: 142.3 MB / 0.9539 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0009309/0.8923, allocations: 391 kB / 0.9542 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.8933, allocations: 0.8034 MB / 0.955 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.8934, allocations: 0 / 0.955 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.8934, allocations: 3.938 kB / 0.955 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.8935, allocations: 1.375 kB / 0.955 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.8936, allocations: 9.172 kB / 0.955 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.8937, allocations: 19.67 kB / 0.9551 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.8938, allocations: 6.859 kB / 0.9551 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.8939, allocations: 10.72 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.8939, allocations: 11.86 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.894, allocations: 0 / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.894, allocations: 1.906 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.894, allocations: 0 / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.894, allocations: 35.14 kB / 0.9551 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.095e-05/0.8941, allocations: 11.75 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8941, allocations: 0 / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8941, allocations: 0 / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8941, allocations: 0 / 0.9551 GB, free: 6.984 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.0003915/0.8945, allocations: 346.3 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.8946, allocations: 9.594 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.8946, allocations: 30.56 kB / 0.9555 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.8947, allocations: 5.391 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.891e-05/0.8948, allocations: 164.7 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.8948, allocations: 1.562 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.8948, allocations: 3.984 kB / 0.9557 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.895, allocations: 58.48 kB / 0.9557 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.895, allocations: 0 / 0.9557 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.8951, allocations: 3.938 kB / 0.9557 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8951, allocations: 1.156 kB / 0.9557 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.8953, allocations: 51.8 kB / 0.9558 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.8957, allocations: 249.3 kB / 0.956 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.8959, allocations: 39.31 kB / 0.9561 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.896, allocations: 31.75 kB / 0.9561 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.896, allocations: 5.547 kB / 0.9561 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.8961, allocations: 34.55 kB / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.8961, allocations: 0 / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004667/0.8966, allocations: 107.8 kB / 0.9562 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.8966, allocations: 55.39 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.8967, allocations: 98.27 kB / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.8967, allocations: 27.2 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.8967, allocations: 80.14 kB / 0.9565 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.8968, allocations: 13.81 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.8968, allocations: 0 / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.8968, allocations: 320.1 kB / 0.9568 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.897, allocations: 17.48 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.8971, allocations: 26.17 kB / 0.9568 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.8972, allocations: 18.05 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8972, allocations: 1.219 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002725/0.8975, allocations: 81.28 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.8975, allocations: 6.594 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8975, allocations: 0 / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.8976, allocations: 4.891 kB / 0.9569 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.8977, allocations: 12.23 kB / 0.957 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8977, allocations: 1.062 kB / 0.957 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.8978, allocations: 10.27 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.8978, allocations: 4.031 kB / 0.957 GB, free: 5.145 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 6.516e-05/0.8979, allocations: 112.2 kB / 0.9571 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.8979, allocations: 0.9375 kB / 0.9571 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.8982, allocations: 83.66 kB / 0.9572 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8983, allocations: 5.406 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8983, allocations: 3.953 kB / 0.9572 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8983, allocations: 0 / 0.9572 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.8985, allocations: 162.1 kB / 0.9573 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8985, allocations: 5.375 kB / 0.9573 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.8986, allocations: 8.344 kB / 0.9573 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.8986, allocations: 0 / 0.9573 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.8986, allocations: 3.984 kB / 0.9573 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8986, allocations: 1.156 kB / 0.9573 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8987, allocations: 4 kB / 0.9573 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.899, allocations: 173.2 kB / 0.9575 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.899, allocations: 77.11 kB / 0.9576 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.899, allocations: 17.16 kB / 0.9576 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.8992, allocations: 6.094 kB / 0.9576 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.8992, allocations: 5.422 kB / 0.9576 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.8993, allocations: 0.9375 kB / 0.9576 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.464e-05/0.8993, allocations: 86.09 kB / 0.9577 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8993, allocations: 0 / 0.9577 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003892/0.8997, allocations: 3.625 kB / 0.9577 GB, free: 4.398 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.0005914/0.9003, allocations: 0.702 MB / 0.9584 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.9006, allocations: 54.42 kB / 0.9584 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9006, allocations: 0 / 0.9584 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.9007, allocations: 27.58 kB / 0.9585 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.9012, allocations: 3.719 kB / 0.9585 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.9017, allocations: 134.3 kB / 0.9586 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.9019, allocations: 0.6773 MB / 0.9593 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.9019, allocations: 3.906 kB / 0.9593 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.902, allocations: 12.91 kB / 0.9593 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.902, allocations: 4.062 kB / 0.9593 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.9158, allocations: 1.01 MB / 0.9603 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.916, allocations: 186.6 kB / 0.9604 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.61, allocations: 0 / 0.9604 GB, free: 2.105 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat does not exist to compare? outputFormat=mat