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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 100.2 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.001491/0.001491, 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.488/2.488, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 11.98 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7573, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.000807/0.7581, allocations: 399.2 kB / 0.954 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.7588, allocations: 0.7782 MB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.7589, allocations: 1.438 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.7589, allocations: 3.984 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.7589, allocations: 9.156 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-05/0.759, allocations: 0.9688 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.759, allocations: 16.03 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.7591, allocations: 6.375 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.7592, allocations: 3.25 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.7592, allocations: 14.14 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.7593, allocations: 5.297 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.7593, allocations: 1.438 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.7593, allocations: 0 / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.7593, allocations: 26.73 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.913e-05/0.7594, allocations: 19.55 kB / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.7594, allocations: 0 / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7594, allocations: 0 / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7594, allocations: 0.9375 kB / 0.9549 GB, free: 7.07 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.0003103/0.7597, allocations: 338.1 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7598, allocations: 8.469 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.7598, allocations: 39.98 kB / 0.9552 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.7598, allocations: 9.297 kB / 0.9552 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.7599, allocations: 168.6 kB / 0.9554 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.7599, allocations: 0 / 0.9554 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.7599, allocations: 5.438 kB / 0.9554 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.7601, allocations: 49.17 kB / 0.9554 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7601, allocations: 1.062 kB / 0.9554 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.7601, allocations: 4 kB / 0.9555 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7601, allocations: 1.094 kB / 0.9555 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.7603, allocations: 46.83 kB / 0.9555 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.7606, allocations: 276.4 kB / 0.9558 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.7607, allocations: 32.31 kB / 0.9558 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.7608, allocations: 1.188 kB / 0.9558 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.7608, allocations: 32.09 kB / 0.9558 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7608, allocations: 4 kB / 0.9558 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003359/0.7611, allocations: 97.78 kB / 0.9559 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.7612, allocations: 60.72 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.635e-05/0.7612, allocations: 102.6 kB / 0.9561 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.7613, allocations: 25.7 kB / 0.9561 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.7613, allocations: 85.3 kB / 0.9562 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.7613, allocations: 1.281 kB / 0.9562 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.7613, allocations: 0 / 0.9562 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.7614, allocations: 312 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.7615, allocations: 20.64 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.7615, allocations: 25.16 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.7616, allocations: 17.98 kB / 0.9565 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7616, allocations: 0 / 0.9565 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001733/0.7618, allocations: 75.77 kB / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.7618, allocations: 8.141 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7619, allocations: 0.5938 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.7619, allocations: 7.891 kB / 0.9566 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.7621, allocations: 36.5 kB / 0.9567 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.7621, allocations: 1.406 kB / 0.9567 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.7621, allocations: 9.922 kB / 0.9567 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.7621, allocations: 0 / 0.9567 GB, free: 5.246 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 (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 5.081e-05/0.7622, allocations: 117.1 kB / 0.9568 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.7622, allocations: 0.9688 kB / 0.9568 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.7622, allocations: 3.125 kB / 0.9568 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.7622, allocations: 1.125 kB / 0.9568 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7623, allocations: 3.953 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7623, allocations: 1.219 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.7624, allocations: 156.8 kB / 0.9569 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7624, allocations: 5.375 kB / 0.957 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.7625, allocations: 35.03 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7625, allocations: 1.562 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.7626, allocations: 0 / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7626, allocations: 0 / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7626, allocations: 0.6562 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.7628, allocations: 174.4 kB / 0.9572 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.7628, allocations: 77.3 kB / 0.9572 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.7628, allocations: 1.281 kB / 0.9572 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.7629, allocations: 13.64 kB / 0.9572 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.7629, allocations: 9.516 kB / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.7629, allocations: 3.938 kB / 0.9573 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.379e-05/0.763, allocations: 87.25 kB / 0.9573 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.763, allocations: 0 / 0.9573 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002062/0.7632, allocations: 2.656 kB / 0.9573 GB, free: 4.551 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 (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.0003772/0.7636, allocations: 0.7056 MB / 0.958 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.7638, allocations: 48.06 kB / 0.9581 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7638, allocations: 0 / 0.9581 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.7639, allocations: 19.55 kB / 0.9581 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.7641, allocations: 6.172 kB / 0.9581 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.7644, allocations: 128.9 kB / 0.9582 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.454e-05/0.7645, allocations: 0.6777 MB / 0.9589 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.7646, allocations: 0 / 0.9589 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.7646, allocations: 12.86 kB / 0.9589 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7646, allocations: 0 / 0.9589 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009872/0.7745, allocations: 0.9758 MB / 0.9599 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.7747, allocations: 202.3 kB / 0.96 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.352, allocations: 0 / 0.96 GB, free: 2.324 MB / 0.7169 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