Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.007936/0.007936, allocations: 102.7 kB / 15.74 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 194.6 kB / 16.67 MB, free: 5.48 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.7/2.7, allocations: 469.4 MB / 0.7421 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9067/0.9081, allocations: 159.1 MB / 1.22 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002227/0.9103, allocations: 0.8339 MB / 1.221 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.9116, allocations: 0.9012 MB / 1.221 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.9117, allocations: 7.938 kB / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.9119, allocations: 7.875 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.912, allocations: 19.86 kB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.9122, allocations: 59.86 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.9124, allocations: 127.7 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.9126, allocations: 49.08 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.9127, allocations: 55.83 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.9129, allocations: 79.72 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.9129, allocations: 12 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.913, allocations: 12 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.913, allocations: 43.77 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.9131, allocations: 55.72 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.9133, allocations: 151 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9134, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9134, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9134, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 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.0008796/0.9143, allocations: 442.9 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.9143, allocations: 8.625 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.9144, allocations: 42.73 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.9144, allocations: 24.83 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.9146, allocations: 208.6 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.9147, allocations: 11.88 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.9147, allocations: 8 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.9152, allocations: 148 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.9152, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.9152, allocations: 4 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.9152, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.9158, allocations: 159.8 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.9165, allocations: 420.4 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.9174, allocations: 174.5 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.9177, allocations: 84.91 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.9177, allocations: 4 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.9177, allocations: 30.56 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.9177, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0009792/0.9187, allocations: 289.4 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.9188, allocations: 55.41 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.9189, allocations: 145.1 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.919, allocations: 25.7 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.919, allocations: 108.1 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.9191, allocations: 32.11 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.9191, allocations: 25.7 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9193, allocations: 326.8 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.9196, allocations: 71.92 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.9198, allocations: 83.8 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.9204, allocations: 156.7 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9204, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006654/0.9211, allocations: 201.4 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.9211, allocations: 12 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9211, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.9211, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.9214, allocations: 39.95 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.9214, allocations: 3.938 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.9216, allocations: 23.92 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.9216, allocations: 4 kB / 1.225 GB, free: 12.34 MB / 0.9512 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.0001444/0.9218, allocations: 134.3 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.9219, allocations: 15.89 kB / 1.225 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.9219, allocations: 12.72 kB / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9219, allocations: 4 kB / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.9219, allocations: 0 / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.9219, allocations: 3.984 kB / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.9222, allocations: 237.5 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.9222, allocations: 3.938 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.9225, allocations: 43.95 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9225, allocations: 0 / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.9225, allocations: 288 / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.9225, allocations: 3.984 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9225, allocations: 3.984 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/0.9233, allocations: 307.2 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.9234, allocations: 89 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.9235, allocations: 0 / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.9237, allocations: 19.97 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.9238, allocations: 31.97 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.9238, allocations: 4 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001033/0.9239, allocations: 111.2 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.026e-06/0.9239, allocations: 4 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000285/0.9242, allocations: 27.89 kB / 1.226 GB, free: 11.2 MB / 0.9512 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.001291/0.9255, allocations: 0.8411 MB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006367/0.9262, allocations: 167.8 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.9262, allocations: 4 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.9265, allocations: 99.91 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.9268, allocations: 12.56 kB / 1.227 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.9299, allocations: 1.856 MB / 1.229 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.9302, allocations: 0.7041 MB / 1.23 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.9303, allocations: 24.41 kB / 1.23 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.9305, allocations: 51.41 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.9305, allocations: 0 / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.9535, allocations: 3.816 MB / 1.234 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.87, allocations: 21.73 kB / 1.234 GB, free: 3.594 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches