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.000975/0.0009749, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001142/0.001142, allocations: 172.7 kB / 15.95 MB, free: 208 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.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.426 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.491/2.491, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003138, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6708/0.6711, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0007846/0.672, allocations: 398 kB / 0.9543 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.6726, allocations: 0.7871 MB / 0.955 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.6727, allocations: 0 / 0.955 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.6727, allocations: 0 / 0.955 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.6728, allocations: 9.406 kB / 0.955 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.683e-05/0.6728, allocations: 0 / 0.955 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.6729, allocations: 23.7 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.181e-05/0.673, allocations: 3.656 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.673, allocations: 10.78 kB / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.683e-05/0.6731, allocations: 11.06 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6731, allocations: 0 / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-06/0.6731, allocations: 1.375 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.6731, allocations: 3.984 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.4e-05/0.6731, allocations: 27.42 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.158e-05/0.6732, allocations: 18.78 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6732, allocations: 1.344 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6732, allocations: 0 / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.6732, allocations: 0 / 0.9551 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.0003167/0.6735, allocations: 339.8 kB / 0.9554 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6736, allocations: 13.06 kB / 0.9555 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.6736, allocations: 31.62 kB / 0.9555 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.6737, allocations: 13.08 kB / 0.9555 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.774e-05/0.6737, allocations: 164 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.6738, allocations: 4.719 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.6738, allocations: 1.875 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.6739, allocations: 49.62 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6739, allocations: 0 / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.6739, allocations: 3.984 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.674, allocations: 1.406 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.6741, allocations: 51.12 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.6744, allocations: 272 kB / 0.956 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.895e-05/0.6745, allocations: 36.69 kB / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.6746, allocations: 26.91 kB / 0.9561 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.6746, allocations: 4 kB / 0.9561 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.6747, allocations: 31.5 kB / 0.9561 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.6747, allocations: 0.9688 kB / 0.9561 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003154/0.675, allocations: 102.2 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.675, allocations: 52.59 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.6751, allocations: 99.08 kB / 0.9564 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.6751, allocations: 25.7 kB / 0.9564 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.6751, allocations: 84.97 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.6752, allocations: 1.25 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.6752, allocations: 4 kB / 0.9565 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.6752, allocations: 316 kB / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.6753, allocations: 16.17 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.6754, allocations: 22.67 kB / 0.9568 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.73e-05/0.6755, allocations: 24.41 kB / 0.9568 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6755, allocations: 0 / 0.9568 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001594/0.6757, allocations: 71.02 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6757, allocations: 5.312 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6757, allocations: 5.156 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6757, allocations: 3.953 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.6759, allocations: 40.05 kB / 0.957 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.6759, allocations: 1.406 kB / 0.957 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.676, allocations: 9.062 kB / 0.957 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.676, allocations: 1.031 kB / 0.957 GB, free: 5.234 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 4.656e-05/0.676, allocations: 110.9 kB / 0.9571 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.676, allocations: 1.094 kB / 0.9571 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.6761, allocations: 8.188 kB / 0.9571 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.6761, allocations: 5.078 kB / 0.9571 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6761, allocations: 0 / 0.9571 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.6761, allocations: 3.938 kB / 0.9571 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6762, allocations: 154.1 kB / 0.9572 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6762, allocations: 4 kB / 0.9572 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.6764, allocations: 36.8 kB / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6764, allocations: 0 / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.6764, allocations: 5.156 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6764, allocations: 0 / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6764, allocations: 7.953 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.6766, allocations: 170.4 kB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.6766, allocations: 77.11 kB / 0.9575 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.6766, allocations: 5.031 kB / 0.9575 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.6767, allocations: 10.45 kB / 0.9575 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.6767, allocations: 1.156 kB / 0.9575 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.6767, allocations: 3.953 kB / 0.9575 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.6768, allocations: 82.56 kB / 0.9576 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6768, allocations: 0 / 0.9576 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002253/0.677, allocations: 3.188 kB / 0.9576 GB, free: 4.543 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.0004557/0.6775, allocations: 0.7048 MB / 0.9583 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.6777, allocations: 48.28 kB / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6777, allocations: 0 / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.6778, allocations: 26.89 kB / 0.9584 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.6781, allocations: 2.062 kB / 0.9584 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.6784, allocations: 128 kB / 0.9585 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/0.6786, allocations: 0.6769 MB / 0.9592 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.6786, allocations: 1.547 kB / 0.9592 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.6786, allocations: 7.438 kB / 0.9592 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6786, allocations: 4.062 kB / 0.9592 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009929/0.6886, allocations: 0.9973 MB / 0.9602 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.6887, allocations: 209.8 kB / 0.9604 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.303, allocations: 8.094 kB / 0.9604 GB, free: 2.293 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