Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.001271/0.00127, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001386/0.001386, allocations: 168.7 kB / 15.95 MB, free: 200 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.504/1.504, allocations: 223.2 MB / 240 MB, free: 5.414 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.503/2.503, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7367/0.7371, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0008145/0.738, allocations: 413 kB / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.7388, allocations: 0.8227 MB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.7388, allocations: 5.25 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.7388, allocations: 3.938 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.7389, allocations: 4 kB / 0.9551 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.7391, allocations: 16.75 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.7391, allocations: 39.31 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.7392, allocations: 12.16 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.7393, allocations: 14.7 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.7394, allocations: 30.89 kB / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.7394, allocations: 6 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.7394, allocations: 2.312 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.7394, allocations: 5.094 kB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.7395, allocations: 31.86 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.883e-05/0.7395, allocations: 34.52 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7395, allocations: 0 / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7395, allocations: 0 / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.7396, allocations: 0 / 0.9553 GB, free: 6.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003923/0.7399, allocations: 353.6 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.74, allocations: 9.188 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.776e-05/0.74, allocations: 31.56 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.7401, allocations: 9.891 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.7402, allocations: 173.2 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.7402, allocations: 11.03 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.7402, allocations: 1.062 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.7404, allocations: 73.22 kB / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7404, allocations: 3.984 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.7404, allocations: 5.453 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.7404, allocations: 3.938 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.7406, allocations: 65.41 kB / 0.956 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.741, allocations: 285.5 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.7412, allocations: 65.42 kB / 0.9563 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.7413, allocations: 43.8 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.7413, allocations: 0.9375 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.7414, allocations: 35.47 kB / 0.9564 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7414, allocations: 0 / 0.9564 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000396/0.7418, allocations: 132.5 kB / 0.9565 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.7418, allocations: 55.39 kB / 0.9566 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.7419, allocations: 102.1 kB / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.7419, allocations: 25.7 kB / 0.9567 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.7419, allocations: 90 kB / 0.9568 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.7419, allocations: 18.12 kB / 0.9568 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.7419, allocations: 3.938 kB / 0.9568 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.742, allocations: 316.1 kB / 0.9571 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.7421, allocations: 29.66 kB / 0.9571 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.429e-05/0.7422, allocations: 34.12 kB / 0.9571 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.7423, allocations: 24.64 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.7423, allocations: 1.188 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002156/0.7425, allocations: 107.2 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7425, allocations: 4.844 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7426, allocations: 0 / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.7426, allocations: 0.9688 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.7427, allocations: 15.23 kB / 0.9573 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.7427, allocations: 0 / 0.9573 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.7428, allocations: 10.3 kB / 0.9573 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.7428, allocations: 1.5 kB / 0.9573 GB, free: 5.004 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.947e-05/0.7428, allocations: 116.7 kB / 0.9574 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.7429, allocations: 9.328 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.7429, allocations: 9.438 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7429, allocations: 0 / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7429, allocations: 1.375 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7429, allocations: 0 / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.7431, allocations: 175.7 kB / 0.9576 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7431, allocations: 0 / 0.9576 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.7432, allocations: 19.38 kB / 0.9576 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7432, allocations: 1.125 kB / 0.9576 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.7432, allocations: 5.109 kB / 0.9576 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7432, allocations: 0 / 0.9576 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7432, allocations: 3.938 kB / 0.9576 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.7435, allocations: 198.8 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.7435, allocations: 90.28 kB / 0.9579 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.7435, allocations: 1.719 kB / 0.9579 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.7436, allocations: 12.86 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.7437, allocations: 12.64 kB / 0.9579 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.7437, allocations: 4.859 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.7437, allocations: 80.5 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7437, allocations: 4 kB / 0.958 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002142/0.7439, allocations: 10.28 kB / 0.958 GB, free: 4.262 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004248/0.7444, allocations: 0.7275 MB / 0.9587 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.7446, allocations: 68.41 kB / 0.9588 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7446, allocations: 1.531 kB / 0.9588 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.7447, allocations: 44.69 kB / 0.9588 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.745, allocations: 8.891 kB / 0.9589 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.7458, allocations: 475.6 kB / 0.9593 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.746, allocations: 0.6847 MB / 0.96 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.575e-05/0.746, allocations: 3.875 kB / 0.96 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.7461, allocations: 21.73 kB / 0.96 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7461, allocations: 0 / 0.96 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.7573, allocations: 1.495 MB / 0.9615 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/0.7575, allocations: 180.3 kB / 0.9616 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.578, allocations: 0 / 0.9616 GB, free: 1.449 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat does not exist to compare? outputFormat=mat