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.001041/0.001041, allocations: 91.92 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.001488/0.001488, 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.49/1.49, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.697/2.697, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7885, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002462/0.791, allocations: 1.66 MB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.7929, allocations: 1.112 MB / 0.9839 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.793, allocations: 3.938 kB / 0.9839 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.7934, allocations: 143.6 kB / 0.984 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.7937, allocations: 127.5 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.7942, allocations: 178.7 kB / 0.9843 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.7946, allocations: 267.1 kB / 0.9845 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.7947, allocations: 56.34 kB / 0.9846 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.7949, allocations: 115.5 kB / 0.9847 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.7951, allocations: 127.4 kB / 0.9848 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.7951, allocations: 4 kB / 0.9848 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.7952, allocations: 47.97 kB / 0.9849 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.7953, allocations: 79.72 kB / 0.985 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.7954, allocations: 73.5 kB / 0.985 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.7957, allocations: 281.5 kB / 0.9853 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7957, allocations: 0 / 0.9853 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7957, allocations: 4 kB / 0.9853 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7958, allocations: 0 / 0.9853 GB, free: 1.969 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.0008974/0.7967, allocations: 0.5679 MB / 0.9859 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7967, allocations: 16.03 kB / 0.9859 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.7968, allocations: 38.55 kB / 0.9859 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.7968, allocations: 31.62 kB / 0.9859 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.7974, allocations: 357.3 kB / 0.9863 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.7974, allocations: 8 kB / 0.9863 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.7975, allocations: 8 kB / 0.9863 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.7977, allocations: 109.6 kB / 0.9864 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7978, allocations: 0 / 0.9864 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.7978, allocations: 4 kB / 0.9864 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.7978, allocations: 4 kB / 0.9864 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.798, allocations: 68.58 kB / 0.9865 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.7988, allocations: 0.4887 MB / 0.9869 GB, free: 128 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.7992, allocations: 134.8 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.7993, allocations: 56.77 kB / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.7993, allocations: 0 / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.7996, allocations: 107.3 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.7996, allocations: 4 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0005163/0.8001, allocations: 224 kB / 0.9874 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.8002, allocations: 51.41 kB / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.8008, allocations: 0.5092 MB / 0.988 GB, free: 15 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.8008, allocations: 33.7 kB / 0.988 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.801, allocations: 160.4 kB / 0.9882 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.801, allocations: 35.55 kB / 0.9882 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.801, allocations: 8 kB / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8012, allocations: 354.8 kB / 0.9886 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.8014, allocations: 96.52 kB / 0.9887 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.8017, allocations: 135.6 kB / 0.9888 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.8019, allocations: 107.9 kB / 0.9889 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8019, allocations: 0 / 0.9889 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005442/0.8024, allocations: 325.1 kB / 0.9892 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8025, allocations: 4 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8025, allocations: 0 / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8025, allocations: 4 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.8027, allocations: 43.97 kB / 0.9892 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.8027, allocations: 7.938 kB / 0.9893 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.8029, allocations: 15.84 kB / 0.9893 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.8029, allocations: 15.98 kB / 0.9893 GB, free: 13.65 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.0002139/0.8032, allocations: 193.7 kB / 0.9895 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.8032, allocations: 27.62 kB / 0.9895 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.8033, allocations: 35.12 kB / 0.9895 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8033, allocations: 0 / 0.9895 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.8033, allocations: 4 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8033, allocations: 3.938 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.8036, allocations: 305.3 kB / 0.9898 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8036, allocations: 0 / 0.9898 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.8037, allocations: 15.98 kB / 0.9898 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.8037, allocations: 4 kB / 0.9898 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.8037, allocations: 4 kB / 0.9898 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8037, allocations: 0 / 0.9898 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8038, allocations: 3.984 kB / 0.9899 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.8041, allocations: 208.6 kB / 0.99 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.8042, allocations: 112.7 kB / 0.9902 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.8043, allocations: 8 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.8044, allocations: 15.98 kB / 0.9902 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.8045, allocations: 15.98 kB / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.8045, allocations: 7.984 kB / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003905/0.8049, allocations: 311.1 kB / 0.9905 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8049, allocations: 0 / 0.9905 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003311/0.8052, allocations: 63.84 kB / 0.9906 GB, free: 12.25 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.001637/0.8069, allocations: 1.062 MB / 0.9916 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.8073, allocations: 188.8 kB / 0.9918 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8073, allocations: 0 / 0.9918 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.8074, allocations: 63.91 kB / 0.9918 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.8079, allocations: 81 kB / 0.9919 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.8113, allocations: 2.064 MB / 0.9939 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.8117, allocations: 0.7909 MB / 0.9947 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.8119, allocations: 54.95 kB / 0.9948 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.8121, allocations: 103.4 kB / 0.9949 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.8121, allocations: 0 / 0.9949 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.8379, allocations: 6.978 MB / 1.002 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.8382, allocations: 244.3 kB / 1.002 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.838, allocations: 0 / 1.002 GB, free: 0.8555 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