Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.0007466/0.0007466, allocations: 91.38 kB / 15.36 MB, free: 0.7344 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.004412/0.004412, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.9 MB / 0.6664 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 16 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.6018, allocations: 142.4 MB / 0.9552 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008528/0.6027, allocations: 436.5 kB / 0.9556 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.6037, allocations: 0.8584 MB / 0.9565 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.6037, allocations: 1.156 kB / 0.9565 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.6037, allocations: 3.938 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.6038, allocations: 0.9688 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.604, allocations: 19.17 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.6041, allocations: 42.03 kB / 0.9565 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.6042, allocations: 16.05 kB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.6042, allocations: 13.33 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.6043, allocations: 17.36 kB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.6043, allocations: 2.562 kB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.6043, allocations: 1.406 kB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.6043, allocations: 9.25 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.6044, allocations: 40.91 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.644e-05/0.6045, allocations: 42.78 kB / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6045, allocations: 0 / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6045, allocations: 4 kB / 0.9567 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.6045, allocations: 1.344 kB / 0.9567 GB, free: 6.348 MB / 0.7169 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.0003972/0.6049, allocations: 363.2 kB / 0.957 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6049, allocations: 10.16 kB / 0.957 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.605, allocations: 34.69 kB / 0.957 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.605, allocations: 11.12 kB / 0.9571 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.6051, allocations: 170.8 kB / 0.9572 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6051, allocations: 5.719 kB / 0.9572 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.6051, allocations: 6.75 kB / 0.9572 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.6054, allocations: 72.91 kB / 0.9573 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.6054, allocations: 7.938 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.6054, allocations: 4 kB / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6054, allocations: 1.469 kB / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.6057, allocations: 87.14 kB / 0.9574 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.606, allocations: 267 kB / 0.9577 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.6062, allocations: 66.48 kB / 0.9577 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.6063, allocations: 48.28 kB / 0.9578 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.6064, allocations: 5.156 kB / 0.9578 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.6064, allocations: 35.62 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.6064, allocations: 3.984 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005541/0.607, allocations: 163.5 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.607, allocations: 59.41 kB / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.6071, allocations: 108 kB / 0.9581 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.6071, allocations: 26.83 kB / 0.9581 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.6071, allocations: 89.05 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.6071, allocations: 9 kB / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.6072, allocations: 11.06 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.6072, allocations: 320.1 kB / 0.9586 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6074, allocations: 43.22 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.6075, allocations: 44.8 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.6078, allocations: 94.23 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6078, allocations: 4 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.6081, allocations: 121.7 kB / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.6082, allocations: 5.125 kB / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6082, allocations: 2.281 kB / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.6082, allocations: 0 / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.6083, allocations: 18.61 kB / 0.9589 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6083, allocations: 4 kB / 0.9589 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.6084, allocations: 23.67 kB / 0.9589 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.6084, allocations: 3.75 kB / 0.9589 GB, free: 4.32 MB / 0.7169 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 4.621e-05/0.6085, allocations: 117.8 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.6085, allocations: 1.562 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.6085, allocations: 5.375 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6085, allocations: 3.938 kB / 0.959 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6085, allocations: 1.594 kB / 0.959 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6085, allocations: 0 / 0.959 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.6087, allocations: 173.2 kB / 0.9592 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6087, allocations: 0 / 0.9592 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.6088, allocations: 27.41 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6088, allocations: 0 / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.6088, allocations: 1.406 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6088, allocations: 0 / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6088, allocations: 0 / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.6091, allocations: 224.2 kB / 0.9594 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.6092, allocations: 82.12 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.6092, allocations: 1.188 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6093, allocations: 16.08 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.6093, allocations: 5.609 kB / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.6094, allocations: 1.156 kB / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.771e-05/0.6094, allocations: 88.94 kB / 0.9596 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6094, allocations: 5.219 kB / 0.9596 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002051/0.6096, allocations: 5.125 kB / 0.9596 GB, free: 3.594 MB / 0.7169 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.000504/0.6101, allocations: 0.7542 MB / 0.9604 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.6104, allocations: 97.89 kB / 0.9605 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6105, allocations: 1.594 kB / 0.9605 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.6106, allocations: 53.77 kB / 0.9605 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.6109, allocations: 4.094 kB / 0.9605 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.6112, allocations: 171 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.017e-05/0.6113, allocations: 0.6833 MB / 0.9613 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.6114, allocations: 2.094 kB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.6114, allocations: 12.47 kB / 0.9614 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.6114, allocations: 0 / 0.9614 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.39/1.001, allocations: 1.347 MB / 0.9627 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/1.002, allocations: 210.2 kB / 0.9629 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.994, allocations: 4 kB / 0.9629 GB, free: 1.043 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches