Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001723/0.001723, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 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.002187/0.002187, allocations: 216.8 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.207/3.207, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002889/0.002889, allocations: 62.47 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4173, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002416/0.4197, allocations: 0.7118 MB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.421, allocations: 0.8319 MB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.4211, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.4211, allocations: 4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.652e-05/0.4212, allocations: 11.88 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.62e-05/0.4213, allocations: 7.984 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.4214, allocations: 47.91 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.4216, allocations: 4 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.4217, allocations: 19.92 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.4218, allocations: 23.91 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.4218, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.4218, allocations: 4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.4218, allocations: 7.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.4219, allocations: 19.91 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.422, allocations: 40.09 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.422, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.266e-06/0.422, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.422, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006986/0.4227, allocations: 290.2 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.4228, allocations: 8.031 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.4228, allocations: 30.75 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.4229, allocations: 4.938 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.4231, allocations: 118.4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4231, allocations: 384 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.4231, allocations: 12.38 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.4234, allocations: 62.22 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4234, allocations: 3.938 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4234, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4234, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.4237, allocations: 75.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.4243, allocations: 228 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.4245, allocations: 50.53 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.4247, allocations: 44.91 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.4247, allocations: 3.984 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4248, allocations: 38.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.4248, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006093/0.4254, allocations: 133.5 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4254, allocations: 51.41 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4256, allocations: 109.8 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4256, allocations: 29.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.4257, allocations: 88.11 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4257, allocations: 11.95 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4257, allocations: 13.72 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.426, allocations: 318.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.4261, allocations: 31.95 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.4263, allocations: 23.97 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.4265, allocations: 80.66 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4265, allocations: 0 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004871/0.427, allocations: 101.6 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.427, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.427, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.4271, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.4272, allocations: 19.97 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4272, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.4273, allocations: 15.98 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4273, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001443/0.4275, allocations: 118.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.4275, allocations: 3.953 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.4275, allocations: 8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4275, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4276, allocations: 3.984 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4276, allocations: 7.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.4278, allocations: 140.6 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4278, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-05/0.4279, allocations: 15.98 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4279, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4279, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4279, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4279, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.4283, allocations: 203.4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.4283, allocations: 7.891 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.4283, allocations: 3.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4284, allocations: 12.36 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4285, allocations: 3.984 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.4285, allocations: 4 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.4285, allocations: 83.28 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4285, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002109/0.4287, allocations: 11.94 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007681/0.4295, allocations: 0.728 MB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.4298, allocations: 67.92 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4298, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.43, allocations: 39.89 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.4303, allocations: 9.719 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.4308, allocations: 151.2 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.751e-05/0.4309, allocations: 63.34 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.4309, allocations: 4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.431, allocations: 15.44 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.431, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.4621, allocations: 2.207 MB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.56, allocations: 4.484 kB / 1.333 GB, free: 9.641 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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: 18.30443094400107]