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.001168/0.001167, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001152/0.001152, allocations: 177.3 kB / 15.95 MB, free: 216 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.702/1.702, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.474/3.474, allocations: 409.2 MB / 0.6838 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000612/0.0006126, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.127, 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.Less): time 0.003842/1.131, allocations: 1.644 MB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003174/1.134, allocations: 1.108 MB / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/1.134, allocations: 0 / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000764/1.135, allocations: 147.5 kB / 0.9837 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006037/1.136, allocations: 123.7 kB / 0.9838 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/1.137, allocations: 190.5 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006162/1.137, allocations: 183.6 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/1.138, allocations: 52.34 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/1.138, allocations: 131.5 kB / 0.9844 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/1.138, allocations: 111.6 kB / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/1.138, allocations: 4 kB / 0.9845 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/1.139, allocations: 39.92 kB / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/1.139, allocations: 79.72 kB / 0.9846 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/1.139, allocations: 73.52 kB / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005867/1.14, allocations: 281.6 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.14, allocations: 0 / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.809e-06/1.14, allocations: 0 / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.726e-06/1.14, allocations: 4 kB / 0.9849 GB, free: 2.137 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.001605/1.141, allocations: 0.5834 MB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/1.141, allocations: 12.03 kB / 0.9855 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.765e-05/1.141, allocations: 34.56 kB / 0.9855 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/1.142, allocations: 31.62 kB / 0.9856 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008768/1.142, allocations: 361.3 kB / 0.9859 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/1.143, allocations: 7.938 kB / 0.9859 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/1.143, allocations: 12 kB / 0.9859 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/1.143, allocations: 107.3 kB / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.143, allocations: 0 / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.143, allocations: 8 kB / 0.986 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.143, allocations: 0 / 0.986 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/1.143, allocations: 67.8 kB / 0.9861 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.145, allocations: 0.4926 MB / 0.9866 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/1.145, allocations: 134.7 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/1.145, allocations: 0 / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/1.146, allocations: 107.3 kB / 0.9868 GB, free: 20 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/1.146, allocations: 0 / 0.9868 GB, free: 20 kB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.001007/1.147, allocations: 224.1 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/1.147, allocations: 55.39 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/1.148, allocations: 0.5092 MB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/1.148, allocations: 33.7 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/1.148, allocations: 168.4 kB / 0.9878 GB, free: 15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/1.148, allocations: 27.64 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/1.148, allocations: 8 kB / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.148, allocations: 350.8 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/1.149, allocations: 100.5 kB / 0.9882 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/1.149, allocations: 127.6 kB / 0.9884 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/1.149, allocations: 111.9 kB / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.149, allocations: 0 / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008557/1.15, allocations: 313.1 kB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.15, allocations: 11.98 kB / 0.9888 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.15, allocations: 224 / 0.9888 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.15, allocations: 0 / 0.9888 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/1.151, allocations: 59.84 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.151, allocations: 4 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/1.151, allocations: 23.91 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/1.151, allocations: 11.98 kB / 0.9889 GB, free: 13.86 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.0003235/1.151, allocations: 185.7 kB / 0.9891 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/1.152, allocations: 31.62 kB / 0.9891 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/1.152, allocations: 43.05 kB / 0.9891 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.152, allocations: 7.984 kB / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.152, allocations: 0 / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.152, allocations: 0 / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/1.152, allocations: 305.3 kB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.152, allocations: 4 kB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.152, allocations: 11.98 kB / 0.9894 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-06/1.152, allocations: 4 kB / 0.9894 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.152, allocations: 4 kB / 0.9894 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.152, allocations: 0 / 0.9894 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.152, allocations: 0 / 0.9894 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/1.153, allocations: 204.6 kB / 0.9896 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/1.153, allocations: 120.7 kB / 0.9898 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/1.153, allocations: 8 kB / 0.9898 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/1.153, allocations: 7.984 kB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/1.154, allocations: 15.98 kB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/1.154, allocations: 11.98 kB / 0.9898 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005731/1.154, allocations: 315.1 kB / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.154, allocations: 0 / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005493/1.155, allocations: 59.84 kB / 0.9902 GB, free: 12.45 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.002513/1.157, allocations: 1.073 MB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006765/1.158, allocations: 184.8 kB / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.158, allocations: 0 / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/1.158, allocations: 68.03 kB / 0.9914 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/1.159, allocations: 73.48 kB / 0.9915 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/1.161, allocations: 1.163 MB / 0.9926 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/1.162, allocations: 0.7908 MB / 0.9934 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002665/1.162, allocations: 54.94 kB / 0.9935 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/1.162, allocations: 107.4 kB / 0.9936 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of SimCode: time 1.964e-06/1.162, allocations: 3.938 kB / 0.9936 GB, free: 9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/1.22, allocations: 6.789 MB / 1 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/1.221, allocations: 227.3 kB / 1 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.625, allocations: 0 / 1 GB, free: 2.145 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