Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.0008571/0.0008571, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00107/0.00107, allocations: 168.7 kB / 15.95 MB, free: 204 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.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.628/2.628, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 12 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8075, allocations: 146.8 MB / 0.9811 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00262/0.8102, allocations: 1.656 MB / 0.9828 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.812, allocations: 1.124 MB / 0.9839 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.8122, allocations: 4 kB / 0.9839 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.8126, allocations: 143.6 kB / 0.984 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.8129, allocations: 127.5 kB / 0.9841 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.8134, allocations: 185.1 kB / 0.9843 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.8138, allocations: 267.2 kB / 0.9846 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.8139, allocations: 48.3 kB / 0.9846 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.8141, allocations: 119.4 kB / 0.9847 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.8143, allocations: 127.5 kB / 0.9848 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.8143, allocations: 4 kB / 0.9848 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.8144, allocations: 47.97 kB / 0.9849 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.8145, allocations: 75.72 kB / 0.985 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.8146, allocations: 73.45 kB / 0.985 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.8149, allocations: 281.6 kB / 0.9853 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.8149, allocations: 0 / 0.9853 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8149, allocations: 4 kB / 0.9853 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8149, allocations: 0 / 0.9853 GB, free: 2.082 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.00088/0.8158, allocations: 0.5834 MB / 0.9859 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8159, allocations: 12.03 kB / 0.9859 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.8159, allocations: 38.55 kB / 0.9859 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.816, allocations: 31.62 kB / 0.9859 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.8165, allocations: 349.3 kB / 0.9863 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.8165, allocations: 15.94 kB / 0.9863 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.8165, allocations: 15.94 kB / 0.9863 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.8168, allocations: 106.5 kB / 0.9864 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8168, allocations: 0 / 0.9864 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.8168, allocations: 4 kB / 0.9864 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8168, allocations: 4 kB / 0.9864 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.817, allocations: 63.86 kB / 0.9865 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.8178, allocations: 0.4887 MB / 0.987 GB, free: 232 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.8181, allocations: 134.8 kB / 0.9871 GB, free: 88 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.8182, allocations: 44.84 kB / 0.9871 GB, free: 40 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.8182, allocations: 11.92 kB / 0.9871 GB, free: 28 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.8185, allocations: 111.3 kB / 0.9872 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.8185, allocations: 0 / 0.9872 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0004966/0.819, allocations: 217.4 kB / 0.9875 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.8191, allocations: 51.41 kB / 0.9875 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.8196, allocations: 0.517 MB / 0.988 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.8196, allocations: 25.7 kB / 0.988 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.8198, allocations: 168.3 kB / 0.9882 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.8198, allocations: 35.64 kB / 0.9882 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.8198, allocations: 4 kB / 0.9882 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.82, allocations: 346.8 kB / 0.9886 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.8202, allocations: 104.5 kB / 0.9887 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.8204, allocations: 127.6 kB / 0.9888 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.8206, allocations: 104 kB / 0.9889 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8206, allocations: 0 / 0.9889 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005109/0.8211, allocations: 321 kB / 0.9892 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.8212, allocations: 9.719 kB / 0.9892 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8212, allocations: 0 / 0.9892 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8212, allocations: 0 / 0.9892 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.8214, allocations: 63.91 kB / 0.9893 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.8214, allocations: 0 / 0.9893 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.8216, allocations: 23.83 kB / 0.9893 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.8216, allocations: 11.98 kB / 0.9893 GB, free: 13.75 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,intLes.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.0002202/0.8219, allocations: 197.6 kB / 0.9895 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.8219, allocations: 27.62 kB / 0.9895 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.713e-05/0.822, allocations: 43.11 kB / 0.9895 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.822, allocations: 0 / 0.9895 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.822, allocations: 8 kB / 0.9896 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.822, allocations: 0 / 0.9896 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.8223, allocations: 301.3 kB / 0.9898 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8223, allocations: 0 / 0.9898 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.8224, allocations: 12 kB / 0.9899 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.8224, allocations: 0 / 0.9899 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.8224, allocations: 7.984 kB / 0.9899 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8225, allocations: 7.938 kB / 0.9899 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8225, allocations: 0 / 0.9899 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.8228, allocations: 203.4 kB / 0.9901 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.8229, allocations: 116.7 kB / 0.9902 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.823, allocations: 4 kB / 0.9902 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.8231, allocations: 7.984 kB / 0.9902 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.8232, allocations: 23.97 kB / 0.9902 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.8232, allocations: 4 kB / 0.9902 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003423/0.8235, allocations: 315.1 kB / 0.9905 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8235, allocations: 4 kB / 0.9905 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002963/0.8238, allocations: 67.83 kB / 0.9906 GB, free: 12.34 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,intLes.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.001617/0.8255, allocations: 1.055 MB / 0.9916 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004108/0.8259, allocations: 188.9 kB / 0.9918 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8259, allocations: 0 / 0.9918 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.8261, allocations: 67.89 kB / 0.9919 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.8265, allocations: 72.84 kB / 0.9919 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.8296, allocations: 2.073 MB / 0.994 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.83, allocations: 0.7908 MB / 0.9947 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.8302, allocations: 50.94 kB / 0.9948 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.8303, allocations: 107.4 kB / 0.9949 GB, free: 8 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.8303, allocations: 0 / 0.9949 GB, free: 8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.8485, allocations: 6.987 MB / 1.002 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.8487, allocations: 235.2 kB / 1.002 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.846, allocations: 0 / 1.002 GB, free: 0.9492 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat does not exist to compare? outputFormat=mat