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.0008375/0.0008375, 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.0009217/0.0009217, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8669/0.8669, allocations: 177.2 MB / 202.8 MB, free: 5.539 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.686/1.686, allocations: 377.9 MB / 0.6221 GB, free: 8.621 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.983e-06/1.983e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.346e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002131/0.002144, allocations: 1.982 MB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003497, allocations: 1.29 MB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.003582, allocations: 7.938 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.003906, allocations: 159.4 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.004209, allocations: 215 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.004415, allocations: 159.5 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.004671, allocations: 343 kB / 0.985 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004789, allocations: 36.89 kB / 0.985 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.00495, allocations: 183.5 kB / 0.9852 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.005095, allocations: 151.6 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.00512, allocations: 16 kB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.005215, allocations: 59.86 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.005294, allocations: 103.6 kB / 0.9855 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.005357, allocations: 67.78 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.005982, allocations: 378.7 kB / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005984, allocations: 0 / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005985, allocations: 0 / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.716e-06/0.005988, allocations: 0 / 0.986 GB, free: 13.42 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.0006217/0.00661, allocations: 0.5779 MB / 0.9865 GB, free: 12.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.006645, allocations: 8.031 kB / 0.9865 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.006677, allocations: 38.75 kB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.006724, allocations: 36.7 kB / 0.9866 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.00705, allocations: 332 kB / 0.9869 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.007066, allocations: 11.94 kB / 0.9869 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.00708, allocations: 4 kB / 0.9869 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.00725, allocations: 116.2 kB / 0.9871 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.007257, allocations: 0 / 0.9871 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.007269, allocations: 0 / 0.9871 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.007277, allocations: 8 kB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.007387, allocations: 63.95 kB / 0.9871 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.007887, allocations: 447.6 kB / 0.9875 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.00809, allocations: 138.6 kB / 0.9877 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.008157, allocations: 48.83 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.00817, allocations: 0 / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.008329, allocations: 119.3 kB / 0.9878 GB, free: 11.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.00833, allocations: 0 / 0.9878 GB, free: 11.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0003394/0.008669, allocations: 240.5 kB / 0.9881 GB, free: 11.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.008701, allocations: 59.41 kB / 0.9881 GB, free: 11.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.009084, allocations: 0.525 MB / 0.9886 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.009102, allocations: 33.7 kB / 0.9887 GB, free: 10.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.009191, allocations: 172.5 kB / 0.9888 GB, free: 10.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.009222, allocations: 43.69 kB / 0.9889 GB, free: 10.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.009292, allocations: 65.97 kB / 0.9889 GB, free: 10.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.009384, allocations: 346.8 kB / 0.9893 GB, free: 9.844 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.009508, allocations: 108.5 kB / 0.9894 GB, free: 9.738 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.009643, allocations: 136.8 kB / 0.9895 GB, free: 9.598 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.009854, allocations: 187.5 kB / 0.9897 GB, free: 9.406 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009856, allocations: 4 kB / 0.9897 GB, free: 9.402 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003296/0.01019, allocations: 341.3 kB / 0.99 GB, free: 9.062 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.0102, allocations: 8 kB / 0.99 GB, free: 9.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01021, allocations: 4.062 kB / 0.99 GB, free: 9.051 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01022, allocations: 3.938 kB / 0.99 GB, free: 9.047 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.01034, allocations: 51.91 kB / 0.9901 GB, free: 8.996 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01035, allocations: 0 / 0.9901 GB, free: 8.996 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.01042, allocations: 23.88 kB / 0.9901 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.01044, allocations: 12 kB / 0.9901 GB, free: 8.961 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.0001219/0.01056, allocations: 182.5 kB / 0.9903 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.01059, allocations: 35.75 kB / 0.9903 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.01085, allocations: 208.7 kB / 0.9905 GB, free: 8.531 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01086, allocations: 7.938 kB / 0.9905 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01086, allocations: 0 / 0.9905 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01086, allocations: 0 / 0.9905 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.01104, allocations: 260.6 kB / 0.9908 GB, free: 8.227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01105, allocations: 0 / 0.9908 GB, free: 8.227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.01109, allocations: 19.92 kB / 0.9908 GB, free: 8.207 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01109, allocations: 0 / 0.9908 GB, free: 8.207 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.0111, allocations: 4 kB / 0.9908 GB, free: 8.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.0111, allocations: 3.938 kB / 0.9908 GB, free: 8.199 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0111, allocations: 4 kB / 0.9908 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.01132, allocations: 224.8 kB / 0.991 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.01136, allocations: 47.69 kB / 0.9911 GB, free: 7.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.01138, allocations: 11.88 kB / 0.9911 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.01143, allocations: 11.92 kB / 0.9911 GB, free: 7.887 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.01148, allocations: 19.97 kB / 0.9911 GB, free: 7.867 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01149, allocations: 8 kB / 0.9911 GB, free: 7.859 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002177/0.01171, allocations: 327.1 kB / 0.9914 GB, free: 7.543 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01171, allocations: 0 / 0.9914 GB, free: 7.543 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001945/0.01191, allocations: 55.92 kB / 0.9915 GB, free: 7.488 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.001073/0.01298, allocations: 1.099 MB / 0.9926 GB, free: 6.547 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.01324, allocations: 194.7 kB / 0.9927 GB, free: 6.359 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01324, allocations: 0 / 0.9927 GB, free: 6.359 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.01332, allocations: 67.95 kB / 0.9928 GB, free: 6.293 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.01385, allocations: 93.22 kB / 0.9929 GB, free: 6.207 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.0163, allocations: 3.247 MB / 0.9961 GB, free: 2.863 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01642, allocations: 187.8 kB / 0.9962 GB, free: 2.664 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.12e-05/0.01651, allocations: 54.95 kB / 0.9963 GB, free: 2.609 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.01663, allocations: 116.5 kB / 0.9964 GB, free: 2.496 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.01663, allocations: 0 / 0.9964 GB, free: 2.496 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.0358, allocations: 8.482 MB / 1.005 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.115, allocations: 7.984 kB / 1.005 GB, free: 10.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.085067600943148]