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.232/2.232, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001017/0.001017, allocations: 192.6 kB / 487.4 MB, free: 5.039 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.615/1.615, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 111.5 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.36e-05, allocations: 6.25 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2969, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9585/1.255, allocations: 148.5 MB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/1.256, allocations: 90.7 kB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002662/1.259, allocations: 0.6081 MB / 1.352 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.535e-06/1.259, allocations: 0 / 1.352 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.259, allocations: 0 / 1.352 GB, free: 33.92 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.0004008/1.259, allocations: 338.4 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.025e-05/1.259, allocations: 9.219 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/1.259, allocations: 2.781 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/1.259, allocations: 174.4 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/1.259, allocations: 4 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/1.259, allocations: 1.344 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.497e-05/1.259, allocations: 9.5 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/1.259, allocations: 37.17 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.259, allocations: 0.5625 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.26, allocations: 1.312 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/1.26, allocations: 0 / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/1.26, allocations: 248.8 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/1.26, allocations: 23.83 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/1.26, allocations: 7.547 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/1.26, allocations: 0 / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/1.26, allocations: 32.44 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/1.26, allocations: 0 / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000161/1.26, allocations: 38.98 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.26, allocations: 51.97 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/1.261, allocations: 94.69 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/1.261, allocations: 25.7 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/1.261, allocations: 82.17 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/1.261, allocations: 4.469 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/1.261, allocations: 0 / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.261, allocations: 319.7 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.261, allocations: 10.59 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/1.261, allocations: 5.969 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.788e-05/1.261, allocations: 2.625 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.261, allocations: 2.562 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.997e-05/1.261, allocations: 33.5 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.261, allocations: 5.25 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.261, allocations: 0 / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.261, allocations: 1.875 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.261, allocations: 17.08 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/1.261, allocations: 1.344 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/1.261, allocations: 11.72 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/1.261, allocations: 1.25 kB / 1.353 GB, free: 32.36 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 0.000166/1.261, allocations: 106.3 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.029e-05/1.262, allocations: 37.61 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/1.262, allocations: 5.906 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/1.262, allocations: 12.02 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.262, allocations: 1.5 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.262, allocations: 1.422 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.262, allocations: 4.688 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/1.262, allocations: 134.7 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.262, allocations: 0 / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/1.262, allocations: 13.94 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.262, allocations: 0.5625 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/1.262, allocations: 1.312 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.262, allocations: 4 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.262, allocations: 0.6094 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/1.262, allocations: 135.4 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/1.262, allocations: 81.91 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/1.262, allocations: 0.75 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/1.262, allocations: 8.828 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/1.262, allocations: 14.44 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/1.262, allocations: 0 / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.074e-05/1.262, allocations: 83.12 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.262, allocations: 0 / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002372/1.263, allocations: 2.656 kB / 1.354 GB, free: 31.71 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.0004553/1.263, allocations: 0.6661 MB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.26e-05/1.263, allocations: 9.75 kB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.263, allocations: 0 / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/1.263, allocations: 7.812 kB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/1.263, allocations: 5.938 kB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/1.264, allocations: 77.39 kB / 1.355 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/1.264, allocations: 0.6783 MB / 1.355 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.3e-05/1.264, allocations: 5.938 kB / 1.355 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/1.264, allocations: 10.75 kB / 1.355 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.264, allocations: 0 / 1.355 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/1.287, allocations: 0.6681 MB / 1.356 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.287, allocations: 165.8 kB / 1.356 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/2.782, allocations: 0 / 1.356 GB, free: 30 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