Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007895/0.0007895, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008318/0.0008318, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8822/0.8822, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.663e-05, allocations: 2.281 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002259/0.002276, allocations: 1.97 MB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003747, allocations: 1.294 MB / 0.9842 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.003857, allocations: 0 / 0.9842 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.004223, allocations: 159.3 kB / 0.9843 GB, free: 15.15 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.004613, allocations: 223 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.004885, allocations: 163.5 kB / 0.9847 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.005185, allocations: 343 kB / 0.985 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.005324, allocations: 32.92 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.005518, allocations: 191.5 kB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.005673, allocations: 143.7 kB / 0.9854 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.005697, allocations: 12 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.005812, allocations: 59.91 kB / 0.9854 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.005897, allocations: 103.5 kB / 0.9855 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.005958, allocations: 67.77 kB / 0.9856 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.006277, allocations: 382.7 kB / 0.986 GB, free: 13.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006279, allocations: 0 / 0.986 GB, free: 13.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00628, allocations: 3.938 kB / 0.986 GB, free: 13.46 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006285, allocations: 0 / 0.986 GB, free: 13.46 MB / 0.948 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.0006595/0.006944, allocations: 0.5702 MB / 0.9865 GB, free: 12.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.00698, allocations: 16.03 kB / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.007016, allocations: 38.73 kB / 0.9866 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.007068, allocations: 44.64 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.00742, allocations: 320.1 kB / 0.9869 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.007437, allocations: 7.938 kB / 0.9869 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.007453, allocations: 8 kB / 0.9869 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.007633, allocations: 113.5 kB / 0.987 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.00764, allocations: 4 kB / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007652, allocations: 4 kB / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007656, allocations: 4 kB / 0.987 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.007768, allocations: 67.95 kB / 0.9871 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.008317, allocations: 455.5 kB / 0.9875 GB, free: 11.72 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.008526, allocations: 130.7 kB / 0.9877 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.008594, allocations: 52.77 kB / 0.9877 GB, free: 11.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.00861, allocations: 4 kB / 0.9877 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.008772, allocations: 111.3 kB / 0.9878 GB, free: 11.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.008773, allocations: 0 / 0.9878 GB, free: 11.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0003507/0.009124, allocations: 239.2 kB / 0.9881 GB, free: 11.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.009156, allocations: 59.34 kB / 0.9881 GB, free: 11.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.009553, allocations: 0.5328 MB / 0.9886 GB, free: 10.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.009569, allocations: 25.7 kB / 0.9887 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.00966, allocations: 168.5 kB / 0.9888 GB, free: 10.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.009693, allocations: 47.67 kB / 0.9889 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.00976, allocations: 65.97 kB / 0.9889 GB, free: 10.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.009854, allocations: 350.8 kB / 0.9893 GB, free: 9.875 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.009976, allocations: 108.5 kB / 0.9894 GB, free: 9.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.01011, allocations: 136.8 kB / 0.9895 GB, free: 9.629 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.01032, allocations: 187.5 kB / 0.9897 GB, free: 9.438 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01032, allocations: 0 / 0.9897 GB, free: 9.438 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003409/0.01066, allocations: 333.3 kB / 0.99 GB, free: 9.105 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01068, allocations: 7.984 kB / 0.99 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01068, allocations: 4.062 kB / 0.99 GB, free: 9.094 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01069, allocations: 7.938 kB / 0.99 GB, free: 9.086 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.01082, allocations: 51.91 kB / 0.9901 GB, free: 9.035 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.01082, allocations: 4 kB / 0.9901 GB, free: 9.031 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.01089, allocations: 15.89 kB / 0.9901 GB, free: 9.016 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.01091, allocations: 11.98 kB / 0.9901 GB, free: 9.004 MB / 0.948 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.01104, allocations: 182.5 kB / 0.9903 GB, free: 8.816 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.01107, allocations: 35.77 kB / 0.9903 GB, free: 8.781 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.01134, allocations: 212.7 kB / 0.9905 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01134, allocations: 3.938 kB / 0.9905 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01135, allocations: 0 / 0.9905 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01135, allocations: 4 kB / 0.9905 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.01153, allocations: 252.6 kB / 0.9908 GB, free: 8.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01153, allocations: 4 kB / 0.9908 GB, free: 8.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.01157, allocations: 15.98 kB / 0.9908 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01157, allocations: 0 / 0.9908 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.01158, allocations: 7.984 kB / 0.9908 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01158, allocations: 11.88 kB / 0.9908 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01158, allocations: 4 kB / 0.9908 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.0118, allocations: 227.2 kB / 0.991 GB, free: 7.992 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.01184, allocations: 39.7 kB / 0.9911 GB, free: 7.953 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.01187, allocations: 11.94 kB / 0.9911 GB, free: 7.941 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.01192, allocations: 11.92 kB / 0.9911 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.01197, allocations: 19.97 kB / 0.9911 GB, free: 7.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.01198, allocations: 8 kB / 0.9911 GB, free: 7.902 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002349/0.01222, allocations: 327.1 kB / 0.9914 GB, free: 7.586 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01222, allocations: 0 / 0.9914 GB, free: 7.586 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002107/0.01243, allocations: 59.94 kB / 0.9915 GB, free: 7.527 MB / 0.948 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/0.01352, allocations: 1.107 MB / 0.9926 GB, free: 6.578 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.01379, allocations: 187.8 kB / 0.9927 GB, free: 6.395 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01379, allocations: 0 / 0.9927 GB, free: 6.395 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.01389, allocations: 59.91 kB / 0.9928 GB, free: 6.336 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.01442, allocations: 105.9 kB / 0.9929 GB, free: 6.246 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.01797, allocations: 3.237 MB / 0.996 GB, free: 2.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.0181, allocations: 195.8 kB / 0.9962 GB, free: 2.703 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.01822, allocations: 50.94 kB / 0.9963 GB, free: 2.652 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.01835, allocations: 116.5 kB / 0.9964 GB, free: 2.539 MB / 0.948 GB Notification: Performance of SimCode: time 1.163e-06/0.01835, allocations: 0 / 0.9964 GB, free: 2.539 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.04154, allocations: 8.478 MB / 1.005 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.005, allocations: 17.09 kB / 1.005 GB, free: 10.17 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intEqu.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.087661712430418]