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.001439/0.001439, allocations: 107 kB / 16.45 MB, free: 6.02 MB / 14.72 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.001489/0.001489, allocations: 205.7 kB / 19.42 MB, free: 3.516 MB / 14.72 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 1.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.255/3.255, allocations: 0.49 GB / 0.7916 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00329/0.00329, allocations: 76.78 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3278, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00344/0.3313, allocations: 2.036 MB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3336, allocations: 1.351 MB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3337, allocations: 11.88 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.3341, allocations: 171.4 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.3346, allocations: 203.2 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3349, allocations: 159.5 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000417/0.3353, allocations: 335.1 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3355, allocations: 40.95 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.3357, allocations: 155.4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.3359, allocations: 175.3 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.336, allocations: 12 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3361, allocations: 63.95 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3362, allocations: 87.62 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3364, allocations: 131.1 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.3368, allocations: 390.2 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3368, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3368, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3368, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 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.001014/0.3378, allocations: 0.6455 MB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3379, allocations: 11.98 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.3379, allocations: 38.75 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.338, allocations: 36.7 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.3386, allocations: 394 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3386, allocations: 7.906 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3386, allocations: 8 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.3389, allocations: 105.6 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3389, allocations: 4 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3389, allocations: 4 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3389, allocations: 4 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.3391, allocations: 63.89 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.3399, allocations: 0.4927 MB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3402, allocations: 134.6 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3404, allocations: 40.84 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3404, allocations: 4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.3406, allocations: 115.3 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.3406, allocations: 4 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005506/0.3412, allocations: 224.4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3412, allocations: 63.34 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/0.3418, allocations: 0.521 MB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3419, allocations: 33.7 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.342, allocations: 168.5 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.3421, allocations: 39.73 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3422, allocations: 69.92 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3423, allocations: 354.8 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.3425, allocations: 100.5 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.3428, allocations: 127.6 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.3431, allocations: 183 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3431, allocations: 0 / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006051/0.3437, allocations: 333.3 kB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3438, allocations: 7.938 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3438, allocations: 0 / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3438, allocations: 4 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.344, allocations: 51.84 kB / 1.33 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.344, allocations: 4 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3442, allocations: 23.86 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.3442, allocations: 16.06 kB / 1.33 GB, free: 9.375 MB / 1.029 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.0001921/0.3444, allocations: 185.5 kB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.3445, allocations: 43.69 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.3445, allocations: 35.25 kB / 1.33 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3445, allocations: 4 kB / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3445, allocations: 0 / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3445, allocations: 0 / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.3448, allocations: 301.4 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3448, allocations: 0 / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.3449, allocations: 19.98 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.3449, allocations: 7.938 kB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3449, allocations: 0 / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3449, allocations: 0 / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3449, allocations: 8 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.3453, allocations: 212.8 kB / 1.331 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3454, allocations: 112.8 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.3455, allocations: 15.98 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.3456, allocations: 4 kB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.3457, allocations: 19.97 kB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3457, allocations: 8 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003639/0.346, allocations: 323.1 kB / 1.331 GB, free: 8.008 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.346, allocations: 0 / 1.331 GB, free: 8.008 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003009/0.3463, allocations: 59.88 kB / 1.332 GB, free: 7.949 MB / 1.029 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 (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.002225/0.3486, allocations: 1.072 MB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.349, allocations: 179.9 kB / 1.333 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.349, allocations: 4 kB / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3492, allocations: 55.91 kB / 1.333 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.3497, allocations: 101.1 kB / 1.333 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.3542, allocations: 3.192 MB / 1.336 GB, free: 3.398 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.3546, allocations: 0.791 MB / 1.337 GB, free: 2.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.3548, allocations: 54.95 kB / 1.337 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.355, allocations: 111.4 kB / 1.337 GB, free: 2.422 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.355, allocations: 0 / 1.337 GB, free: 2.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.3876, allocations: 7.361 MB / 1.344 GB, free: 11.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.058, allocations: 15.92 kB / 1.344 GB, free: 11.14 MB / 1.045 GB " [Timeout remaining time 291] (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/jenkins1/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: 16.004287898074836]