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.403/2.403, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001573/0.001574, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.856/1.856, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.000945/0.000945, allocations: 95.41 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.585e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.651, allocations: 149.2 MB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.651, allocations: 87.91 kB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002845/1.654, allocations: 0.6165 MB / 1.359 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/1.654, allocations: 0 / 1.359 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.654, allocations: 0 / 1.359 GB, free: 34.75 MB / 0.8386 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.0003796/1.654, allocations: 331.2 kB / 1.359 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.655, allocations: 11.59 kB / 1.359 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/1.655, allocations: 34.98 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/1.655, allocations: 0.7812 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.655, allocations: 176.1 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.655, allocations: 0 / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/1.655, allocations: 0.7031 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/1.655, allocations: 34.67 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.655, allocations: 0 / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.655, allocations: 4.609 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.655, allocations: 0 / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/1.655, allocations: 11.12 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/1.655, allocations: 269.4 kB / 1.36 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/1.656, allocations: 22.33 kB / 1.36 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/1.656, allocations: 8.641 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/1.656, allocations: 3.938 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/1.656, allocations: 38.64 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.656, allocations: 4 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/1.656, allocations: 34.28 kB / 1.36 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.656, allocations: 55.42 kB / 1.36 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/1.656, allocations: 94.39 kB / 1.36 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/1.656, allocations: 25.7 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/1.656, allocations: 84.45 kB / 1.36 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/1.656, allocations: 7.719 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/1.656, allocations: 0 / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.656, allocations: 316.3 kB / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/1.656, allocations: 0 / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/1.656, allocations: 7.438 kB / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.81e-05/1.656, allocations: 6.031 kB / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.656, allocations: 0 / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.891e-05/1.656, allocations: 41.56 kB / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.656, allocations: 4.578 kB / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.656, allocations: 0 / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.656, allocations: 96 / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/1.656, allocations: 14.55 kB / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.656, allocations: 0 / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/1.657, allocations: 14.55 kB / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/1.657, allocations: 3.953 kB / 1.36 GB, free: 33.1 MB / 0.8386 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 () * 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 8.995e-05/1.657, allocations: 104.2 kB / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/1.657, allocations: 1.125 kB / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/1.657, allocations: 11.95 kB / 1.361 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.657, allocations: 3.984 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.657, allocations: 1.422 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.657, allocations: 0.7031 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/1.657, allocations: 158.3 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/1.657, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/1.657, allocations: 14.22 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.657, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/1.657, allocations: 2.734 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.657, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.657, allocations: 7.938 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/1.657, allocations: 132.7 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/1.657, allocations: 85.42 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/1.657, allocations: 0.6094 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/1.657, allocations: 6.047 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/1.657, allocations: 9.156 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/1.657, allocations: 4.031 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.085e-05/1.657, allocations: 86.88 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.657, allocations: 0 / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002203/1.658, allocations: 3.875 kB / 1.361 GB, free: 32.47 MB / 0.8386 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 () * 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.0004827/1.658, allocations: 0.6686 MB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001027/1.658, allocations: 11.28 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.658, allocations: 0 / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/1.658, allocations: 7.125 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.659, allocations: 1.406 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/1.659, allocations: 85.52 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/1.659, allocations: 0.677 MB / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.22e-05/1.659, allocations: 8.672 kB / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/1.659, allocations: 7.438 kB / 1.363 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.659, allocations: 0 / 1.363 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/1.675, allocations: 0.9831 MB / 1.363 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.675, allocations: 173.1 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/3.254, allocations: 2.391 kB / 1.364 GB, free: 30.65 MB / 0.8386 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