Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 104.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 443.5 MB / 0.7287 GB, free: 13.4 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9005/0.9025, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002649/0.9052, allocations: 0.8528 MB / 1.214 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.9067, allocations: 0.9094 MB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.9069, allocations: 6.094 kB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.907, allocations: 11.86 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.9071, allocations: 15.09 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.9074, allocations: 57.77 kB / 1.215 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.9076, allocations: 131.9 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.9078, allocations: 33.56 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.9079, allocations: 60.86 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.9081, allocations: 78.25 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.9081, allocations: 12.91 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.9082, allocations: 11.62 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.9082, allocations: 37.98 kB / 1.215 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.9083, allocations: 58.53 kB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.9086, allocations: 149 kB / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.9086, allocations: 1.188 kB / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9086, allocations: 0 / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9086, allocations: 0 / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001074/0.9097, allocations: 450.4 kB / 1.216 GB, free: 1.559 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.9097, allocations: 9.562 kB / 1.216 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.9098, allocations: 41.53 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.9099, allocations: 15.44 kB / 1.216 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.9102, allocations: 208.2 kB / 1.216 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.9102, allocations: 12.44 kB / 1.216 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.9102, allocations: 9.562 kB / 1.216 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.9107, allocations: 146.1 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9107, allocations: 3.938 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.9107, allocations: 9.047 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9107, allocations: 2.125 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.9113, allocations: 158.5 kB / 1.216 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.9121, allocations: 416.3 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.913, allocations: 171 kB / 1.217 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.9133, allocations: 82.55 kB / 1.217 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.9133, allocations: 5.016 kB / 1.217 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.9133, allocations: 35.56 kB / 1.217 GB, free: 0.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.9133, allocations: 0 / 1.217 GB, free: 0.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0009547/0.9143, allocations: 286.4 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.9143, allocations: 52.59 kB / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.9145, allocations: 157.5 kB / 1.217 GB, free: 144 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.9145, allocations: 30.67 kB / 1.217 GB, free: 108 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.9146, allocations: 110.5 kB / 1.218 GB, free: 0 / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.9146, allocations: 26.97 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.9147, allocations: 29.89 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9149, allocations: 322.5 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.9151, allocations: 74.77 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.9154, allocations: 75.45 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.9159, allocations: 160.6 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9159, allocations: 4 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005975/0.9165, allocations: 202 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9165, allocations: 5.844 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9165, allocations: 0 / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.9166, allocations: 1.781 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.9168, allocations: 44.11 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9168, allocations: 0 / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.917, allocations: 23.39 kB / 1.219 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.917, allocations: 6.484 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001266/0.9172, allocations: 125.7 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.9172, allocations: 12.27 kB / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.9172, allocations: 27.95 kB / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9172, allocations: 1.125 kB / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9172, allocations: 0 / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.9173, allocations: 1.125 kB / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.9175, allocations: 240 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9175, allocations: 0 / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.9178, allocations: 35.52 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.9178, allocations: 1.406 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.9178, allocations: 5.328 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.9178, allocations: 3.938 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9178, allocations: 5.188 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.9185, allocations: 301.7 kB / 1.219 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.9185, allocations: 88.56 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.9186, allocations: 5.156 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.9188, allocations: 21.91 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.9189, allocations: 29.84 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.9189, allocations: 7.297 kB / 1.219 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.017e-05/0.919, allocations: 111.7 kB / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.919, allocations: 0 / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002648/0.9192, allocations: 26.55 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001093/0.9203, allocations: 0.8375 MB / 1.22 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.9209, allocations: 177.7 kB / 1.221 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9209, allocations: 1.031 kB / 1.221 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.9212, allocations: 92.33 kB / 1.221 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.9215, allocations: 28.61 kB / 1.221 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.9248, allocations: 1.841 MB / 1.222 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.9252, allocations: 0.7064 MB / 1.223 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.9253, allocations: 20.97 kB / 1.223 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.9254, allocations: 45.16 kB / 1.223 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of SimCode: time 9.01e-07/0.9254, allocations: 1.125 kB / 1.223 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.9541, allocations: 3.834 MB / 1.227 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.083, allocations: 5.797 kB / 1.227 GB, free: 9.289 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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: 14.997709369286895]