Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002465/0.002465, allocations: 183.3 kB / 498.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 223.2 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009225/0.0009226, allocations: 110.5 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 10.94 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.5295, allocations: 149.3 MB / 1.369 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5298, allocations: 87.94 kB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0016/0.5314, allocations: 0.6173 MB / 1.369 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5314, allocations: 0 / 1.369 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.5315, allocations: 0 / 1.369 GB, free: 11.99 MB / 0.8698 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.0004238/0.5319, allocations: 344.2 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.532, allocations: 12.03 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.532, allocations: 30.56 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.5321, allocations: 0 / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.5322, allocations: 175 kB / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.5322, allocations: 0 / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.5322, allocations: 0 / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.5324, allocations: 57.67 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.5325, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.5325, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5325, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.5327, allocations: 47.91 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.5331, allocations: 268.9 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.5332, allocations: 42.56 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.5333, allocations: 0 / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.5333, allocations: 34.5 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5333, allocations: 0 / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003487/0.5336, allocations: 101.5 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5337, allocations: 55.36 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.5338, allocations: 93 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.5338, allocations: 25.7 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.5338, allocations: 84.12 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.5339, allocations: 4.125 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5339, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.534, allocations: 318.8 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.5341, allocations: 15.98 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.5342, allocations: 15.98 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.5343, allocations: 32.03 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5343, allocations: 3.938 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001919/0.5345, allocations: 69.61 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5345, allocations: 5.406 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5345, allocations: 192 / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5345, allocations: 0 / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.5346, allocations: 11.98 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.5346, allocations: 0 / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.5347, allocations: 23.92 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.5347, allocations: 0 / 1.371 GB, free: 9.941 MB / 0.8698 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 (1): * Single equations (assignments): 1 * 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 7.723e-05/0.5348, allocations: 109.9 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.5348, allocations: 7.906 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.5349, allocations: 3.125 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5349, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5349, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5349, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.535, allocations: 161.6 kB / 1.371 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.5351, allocations: 0 / 1.371 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.5351, allocations: 12 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5351, allocations: 0 / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.5351, allocations: 0 / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5352, allocations: 0 / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5352, allocations: 11.92 kB / 1.371 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.5354, allocations: 167.5 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.5355, allocations: 81.11 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.5355, allocations: 7.984 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.5356, allocations: 4 kB / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.5356, allocations: 0 / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.5356, allocations: 0 / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.5357, allocations: 87.3 kB / 1.372 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5357, allocations: 3.938 kB / 1.372 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000202/0.5359, allocations: 4 kB / 1.372 GB, free: 9.199 MB / 0.8698 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 (1): * Single equations (assignments): 1 * 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.0005641/0.5365, allocations: 0.7083 MB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.5367, allocations: 39.97 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.5367, allocations: 4.094 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.5368, allocations: 23.97 kB / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.537, allocations: 0 / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.5375, allocations: 142.2 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.5377, allocations: 0.681 MB / 1.373 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.5378, allocations: 3.938 kB / 1.373 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.5378, allocations: 7.438 kB / 1.373 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/0.5378, allocations: 0 / 1.373 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.5501, allocations: 0.9666 MB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.5504, allocations: 195.6 kB / 1.375 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.128, allocations: 4 kB / 1.375 GB, free: 6.453 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat does not exist to compare? outputFormat=mat