Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.001426/0.001426, allocations: 103.1 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.001686/0.001687, allocations: 173.3 kB / 15.95 MB, free: 212 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.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.244/3.244, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004061, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.879, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003006/0.882, allocations: 1.644 MB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.8853, allocations: 1.108 MB / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.8855, allocations: 3.938 kB / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.8861, allocations: 139.6 kB / 0.9837 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.8866, allocations: 131.7 kB / 0.9838 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008661/0.8875, allocations: 178.5 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.888, allocations: 191.5 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.8884, allocations: 52.36 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.8886, allocations: 123.5 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.889, allocations: 115.6 kB / 0.9845 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.889, allocations: 8 kB / 0.9845 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.8892, allocations: 35.86 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.8893, allocations: 79.78 kB / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.8895, allocations: 69.52 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.8899, allocations: 281.6 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8899, allocations: 0 / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8899, allocations: 0 / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8899, allocations: 4 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001335/0.8913, allocations: 0.5795 MB / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.000139/0.8914, allocations: 8.031 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.8915, allocations: 38.56 kB / 0.9855 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.8916, allocations: 31.62 kB / 0.9856 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.8922, allocations: 353.3 kB / 0.9859 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.8922, allocations: 11.94 kB / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.8922, allocations: 12 kB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.8925, allocations: 114.9 kB / 0.986 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8925, allocations: 0 / 0.986 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.8925, allocations: 0 / 0.986 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.8925, allocations: 7.938 kB / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.8927, allocations: 59.86 kB / 0.9861 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.8937, allocations: 0.4965 MB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.8941, allocations: 134.7 kB / 0.9867 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.8941, allocations: 0 / 0.9867 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.8944, allocations: 115.3 kB / 0.9868 GB, free: 24 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.8944, allocations: 0 / 0.9868 GB, free: 24 kB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0006725/0.8951, allocations: 217.4 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.8951, allocations: 51.41 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/0.8959, allocations: 0.5092 MB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/0.896, allocations: 29.7 kB / 0.9876 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.8962, allocations: 172.3 kB / 0.9878 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.8963, allocations: 35.62 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.8963, allocations: 8 kB / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.8965, allocations: 346.8 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.8968, allocations: 104.5 kB / 0.9882 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.8971, allocations: 127.6 kB / 0.9884 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.8973, allocations: 108 kB / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8973, allocations: 0 / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006801/0.898, allocations: 313.1 kB / 0.9888 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.898, allocations: 8 kB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.898, allocations: 224 / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.898, allocations: 0 / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.8983, allocations: 59.84 kB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.8983, allocations: 0 / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.8985, allocations: 27.89 kB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.8985, allocations: 8 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.000297/0.8988, allocations: 193.7 kB / 0.989 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.8989, allocations: 31.61 kB / 0.9891 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.8989, allocations: 39.12 kB / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.899, allocations: 0 / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.899, allocations: 0 / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.899, allocations: 0 / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.8994, allocations: 305.3 kB / 0.9894 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8994, allocations: 4 kB / 0.9894 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.037e-05/0.8995, allocations: 12 kB / 0.9894 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8995, allocations: 0 / 0.9894 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.8995, allocations: 7.984 kB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8995, allocations: 0 / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8995, allocations: 7.938 kB / 0.9894 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.8999, allocations: 199.2 kB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.9001, allocations: 124.7 kB / 0.9897 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.9001, allocations: 3.984 kB / 0.9897 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.9002, allocations: 8 kB / 0.9898 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.9003, allocations: 19.97 kB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.9003, allocations: 8 kB / 0.9898 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003428/0.9007, allocations: 311.1 kB / 0.9901 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9007, allocations: 0 / 0.9901 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003087/0.901, allocations: 67.83 kB / 0.9901 GB, free: 12.47 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001693/0.9027, allocations: 1.07 MB / 0.9912 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006911/0.9034, allocations: 184.9 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.9034, allocations: 0 / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.9036, allocations: 68.03 kB / 0.9914 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.9043, allocations: 73.48 kB / 0.9915 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.9058, allocations: 1.163 MB / 0.9926 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.9063, allocations: 0.7909 MB / 0.9934 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.9065, allocations: 54.94 kB / 0.9935 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.9067, allocations: 107.4 kB / 0.9936 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.9067, allocations: 3.938 kB / 0.9936 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.9316, allocations: 6.78 MB / 1 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/0.932, allocations: 232.6 kB / 1 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.399, allocations: 0 / 1 GB, free: 2.164 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat does not exist to compare? outputFormat=mat