Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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.0007979/0.0007979, 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.0008526/0.0008526, 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.8636/0.8636, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.699/1.699, 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.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.565e-05, allocations: 6.281 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001266/0.001282, allocations: 0.8259 MB / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.002091, allocations: 0.9249 MB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.00216, allocations: 8 kB / 0.9828 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.002268, allocations: 11.86 kB / 0.9828 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.213e-05/0.0023, allocations: 15.81 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.002487, allocations: 43.88 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.002592, allocations: 99.7 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.002703, allocations: 31.97 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.002838, allocations: 63.77 kB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.002891, allocations: 31.89 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.002907, allocations: 8 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.689e-05/0.002944, allocations: 19.98 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.002959, allocations: 15.94 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.002984, allocations: 23.91 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.003111, allocations: 111.6 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003112, allocations: 0 / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003113, allocations: 0 / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003118, allocations: 0 / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004156/0.003533, allocations: 337.8 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.003567, allocations: 12.03 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.003597, allocations: 42.73 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/0.003692, allocations: 24.88 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.003856, allocations: 145.6 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.003865, allocations: 4.375 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.003875, allocations: 4.375 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.004023, allocations: 93.45 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00403, allocations: 192 / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004039, allocations: 8.375 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004045, allocations: 8.125 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.004175, allocations: 67.88 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.00452, allocations: 303.7 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.004656, allocations: 70.53 kB / 0.9843 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.004715, allocations: 32.92 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.00473, allocations: 0 / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.004745, allocations: 30.56 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.004746, allocations: 0 / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002504/0.004996, allocations: 125.5 kB / 0.9845 GB, free: 14.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.005021, allocations: 55.41 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.005092, allocations: 141.6 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.005103, allocations: 25.7 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.005147, allocations: 108 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.00516, allocations: 11.89 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.00519, allocations: 21.7 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.005259, allocations: 318.8 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.005324, allocations: 27.97 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.005382, allocations: 39.97 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.005484, allocations: 52.81 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.005485, allocations: 0 / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/0.005618, allocations: 101.5 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.005628, allocations: 4 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005632, allocations: 0 / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.005642, allocations: 4 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.005699, allocations: 12.17 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.005703, allocations: 0 / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.005752, allocations: 23.92 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.005763, allocations: 7.938 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.583e-05/0.005819, allocations: 113.8 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.005834, allocations: 12.12 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.005854, allocations: 8.344 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005856, allocations: 11.98 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.00586, allocations: 4 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.005862, allocations: 0 / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.005976, allocations: 156.7 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-07/0.005977, allocations: 0 / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.006007, allocations: 11.98 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006008, allocations: 3.938 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.006014, allocations: 0 / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.006014, allocations: 0 / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006015, allocations: 4 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.006405, allocations: 195.4 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.006414, allocations: 7.953 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.006427, allocations: 0 / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.006486, allocations: 15.92 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.006523, allocations: 15.97 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006526, allocations: 0 / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.006566, allocations: 109.7 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006566, allocations: 0 / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001479/0.006714, allocations: 23.88 kB / 0.986 GB, free: 13.12 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: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * 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.0003044/0.007018, allocations: 0.7163 MB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.007168, allocations: 67.94 kB / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00717, allocations: 0 / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.007236, allocations: 35.91 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.007424, allocations: 15.94 kB / 0.9869 GB, free: 12.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.008456, allocations: 1.478 MB / 0.9883 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.008505, allocations: 75.33 kB / 0.9884 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.008536, allocations: 7.984 kB / 0.9884 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.008584, allocations: 24.5 kB / 0.9884 GB, free: 10.57 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.008585, allocations: 4 kB / 0.9884 GB, free: 10.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.0222, allocations: 2.935 MB / 0.9913 GB, free: 7.777 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.794, allocations: 7.969 kB / 0.9913 GB, free: 7.77 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.741177182644606]