Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.001265/0.001265, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001667/0.001666, allocations: 177.3 kB / 15.95 MB, free: 216 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.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.351/2.351, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003755, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6238, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.0007988/0.6246, allocations: 0.5727 MB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.6254, allocations: 0.8787 MB / 0.955 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.6255, allocations: 6.219 kB / 0.955 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.6256, allocations: 7.922 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.6256, allocations: 6.469 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.6258, allocations: 55.64 kB / 0.9551 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.6259, allocations: 80.58 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.626, allocations: 48.23 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.6261, allocations: 27.73 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.6262, allocations: 49.98 kB / 0.9553 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.6262, allocations: 5.656 kB / 0.9553 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.6262, allocations: 4.344 kB / 0.9553 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.6262, allocations: 20.5 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.6263, allocations: 44.36 kB / 0.9554 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.6263, allocations: 89.95 kB / 0.9555 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.6264, allocations: 0 / 0.9555 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6264, allocations: 0 / 0.9555 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.6264, allocations: 0 / 0.9555 GB, free: 6.594 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004612/0.6268, allocations: 437.8 kB / 0.9559 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.6269, allocations: 9.5 kB / 0.9559 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.6269, allocations: 47.17 kB / 0.9559 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.627, allocations: 18.83 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.6271, allocations: 212.9 kB / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6271, allocations: 8.656 kB / 0.9562 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.6272, allocations: 13.56 kB / 0.9562 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.6275, allocations: 144.5 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6275, allocations: 5.25 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.6275, allocations: 5.344 kB / 0.9563 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6275, allocations: 7.172 kB / 0.9563 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.6278, allocations: 146 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.6285, allocations: 0.489 MB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.6287, allocations: 87.92 kB / 0.957 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.6287, allocations: 10.12 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.6288, allocations: 39.75 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.6288, allocations: 3.938 kB / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004855/0.6293, allocations: 179.4 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.6293, allocations: 52.72 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.6295, allocations: 192.2 kB / 0.9575 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.6295, allocations: 27.23 kB / 0.9575 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.6295, allocations: 113.1 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.6296, allocations: 31.45 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.6296, allocations: 1.594 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.6296, allocations: 325.6 kB / 0.958 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.6297, allocations: 54 kB / 0.958 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.6299, allocations: 39.33 kB / 0.958 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.63, allocations: 52.5 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.63, allocations: 4 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002867/0.6303, allocations: 148.9 kB / 0.9582 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6303, allocations: 5.688 kB / 0.9582 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6303, allocations: 384 / 0.9582 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.6303, allocations: 0 / 0.9582 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.6305, allocations: 42.3 kB / 0.9583 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.6305, allocations: 1.781 kB / 0.9583 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.6306, allocations: 23.97 kB / 0.9583 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.6306, allocations: 3 kB / 0.9583 GB, free: 4.164 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 (13): * Single equations (assignments): 13 * 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.487e-05/0.6307, allocations: 122.5 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.6307, allocations: 15.19 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.6311, allocations: 152.9 kB / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.6311, allocations: 1.438 kB / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6311, allocations: 3.953 kB / 0.9586 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6311, allocations: 5.641 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.6316, allocations: 466.5 kB / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6316, allocations: 0 / 0.959 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.6317, allocations: 23.33 kB / 0.9591 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.6317, allocations: 10.17 kB / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.6317, allocations: 1.375 kB / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6317, allocations: 2.75 kB / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6317, allocations: 3.938 kB / 0.9591 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.632, allocations: 285 kB / 0.9594 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.6321, allocations: 98.41 kB / 0.9595 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.6321, allocations: 5.312 kB / 0.9595 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.6322, allocations: 21.73 kB / 0.9595 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.6323, allocations: 13.48 kB / 0.9595 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.6323, allocations: 2.75 kB / 0.9595 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.443e-05/0.6324, allocations: 146.7 kB / 0.9596 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6324, allocations: 0 / 0.9596 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002503/0.6327, allocations: 27.2 kB / 0.9597 GB, free: 2.973 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0005234/0.6332, allocations: 1.034 MB / 0.9607 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.6335, allocations: 119.9 kB / 0.9608 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6335, allocations: 1.281 kB / 0.9608 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.6336, allocations: 47.8 kB / 0.9608 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.6338, allocations: 14.64 kB / 0.9608 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.6351, allocations: 0.8562 MB / 0.9617 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.6353, allocations: 0.714 MB / 0.9624 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.6353, allocations: 13.33 kB / 0.9624 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.6354, allocations: 43.17 kB / 0.9624 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6354, allocations: 5.031 kB / 0.9624 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.6499, allocations: 2.437 MB / 0.9648 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.6502, allocations: 181.5 kB / 0.965 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.379, allocations: 0 / 0.965 GB, free: 15.16 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat does not exist to compare? outputFormat=mat