Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.001414/0.001414, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 196.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 65.61 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.246, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001741/0.2478, allocations: 0.7131 MB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.2486, allocations: 0.833 MB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.2487, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.2487, allocations: 3.938 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.2488, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.2489, allocations: 23.92 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.249, allocations: 51.84 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.2491, allocations: 11.98 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.2491, allocations: 19.92 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.2492, allocations: 27.91 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2492, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.2492, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.2493, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.2493, allocations: 27.84 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.32e-05/0.2494, allocations: 39.86 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2494, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2494, allocations: 4 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2494, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004654/0.2499, allocations: 351.7 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2499, allocations: 12.03 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.25, allocations: 34.75 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.25, allocations: 12.84 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2501, allocations: 164.3 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2502, allocations: 8.312 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.2502, allocations: 384 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.2504, allocations: 81.55 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.2504, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.2504, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.2504, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.2506, allocations: 55.95 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.251, allocations: 284.7 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2512, allocations: 70.47 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.2513, allocations: 32.86 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2513, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2513, allocations: 38.55 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2513, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003762/0.2517, allocations: 109.6 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2518, allocations: 55.41 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.2519, allocations: 109.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2519, allocations: 25.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.2519, allocations: 92.05 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.252, allocations: 3.906 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.252, allocations: 21.7 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2521, allocations: 318.8 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.2522, allocations: 31.97 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.2523, allocations: 19.98 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2525, allocations: 48.81 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2525, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002252/0.2527, allocations: 89.58 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.2528, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2528, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.2528, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2529, allocations: 11.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2529, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.253, allocations: 11.89 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.253, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.014e-05/0.2531, allocations: 117.8 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.2531, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.2531, allocations: 11.89 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2531, allocations: 4.328 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2531, allocations: 0 / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2531, allocations: 0 / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.2533, allocations: 181.6 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2533, allocations: 0 / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.2534, allocations: 19.95 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2534, allocations: 3.938 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.2535, allocations: 4 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2535, allocations: 3.938 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2535, allocations: 0 / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2537, allocations: 187.3 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.2538, allocations: 77.11 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2538, allocations: 4 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.2539, allocations: 7.984 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.254, allocations: 11.98 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.254, allocations: 4 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.254, allocations: 83.28 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.254, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000205/0.2542, allocations: 11.94 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005621/0.2548, allocations: 0.7279 MB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.255, allocations: 55.95 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2551, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.2552, allocations: 39.91 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2554, allocations: 4 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2568, allocations: 1.315 MB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.2571, allocations: 0.6807 MB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.2571, allocations: 8 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.2572, allocations: 19.42 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2572, allocations: 0 / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9918/1.249, allocations: 1.826 MB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.3, allocations: 8.547 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches