Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Splice.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Splice",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.001025/0.001025, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8126 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6506/0.652, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00248/0.6545, allocations: 1.488 MB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.6554, allocations: 0.6516 MB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.6555, allocations: 1.188 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.6555, allocations: 3.938 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.6556, allocations: 5 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.6559, allocations: 82.27 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.876e-05/0.656, allocations: 31.2 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.6561, allocations: 10.5 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.6562, allocations: 25.84 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.6563, allocations: 16.89 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.6563, allocations: 2.469 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.6565, allocations: 109.2 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.6565, allocations: 13.08 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.6565, allocations: 16.66 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.6567, allocations: 85.31 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6567, allocations: 0 / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6567, allocations: 3.984 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.6567, allocations: 1.125 kB / 0.9522 GB, free: 7.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003522/0.6571, allocations: 356.9 kB / 0.9525 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.6571, allocations: 10.09 kB / 0.9525 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.6571, allocations: 38.75 kB / 0.9526 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.6572, allocations: 7.688 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.475e-05/0.6572, allocations: 167 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6573, allocations: 2.844 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.6573, allocations: 1.844 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.6574, allocations: 66.16 kB / 0.9528 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6574, allocations: 1.5 kB / 0.9528 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.6575, allocations: 0 / 0.9528 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6575, allocations: 1.312 kB / 0.9528 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.6576, allocations: 30.89 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.6578, allocations: 275.1 kB / 0.9531 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.961e-05/0.6579, allocations: 35.31 kB / 0.9531 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.658, allocations: 16.06 kB / 0.9532 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/0.6583, allocations: 0.5616 MB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.6584, allocations: 30.56 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6584, allocations: 5.031 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002194/0.6586, allocations: 68.02 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.6586, allocations: 55.34 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.6587, allocations: 126.7 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.6587, allocations: 29.69 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.6587, allocations: 86.17 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.6587, allocations: 5.062 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.6588, allocations: 15.94 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.6588, allocations: 321 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.6589, allocations: 9.594 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.6589, allocations: 9.453 kB / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.659, allocations: 29.09 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.659, allocations: 1.062 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.6591, allocations: 59.27 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6591, allocations: 9.312 kB / 0.9545 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6591, allocations: 3.938 kB / 0.9545 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6592, allocations: 0 / 0.9545 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.6592, allocations: 8.984 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6592, allocations: 4.031 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.6593, allocations: 10.16 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.6593, allocations: 5.594 kB / 0.9546 GB, free: 4.664 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 (2): * Single equations (assignments): 2 * 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.773e-05/0.6593, allocations: 107.1 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.6594, allocations: 2.344 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.6595, allocations: 62.77 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6595, allocations: 0 / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6595, allocations: 5.469 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6595, allocations: 4 kB / 0.9547 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.6597, allocations: 169 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6597, allocations: 0 / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.6597, allocations: 13.23 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6597, allocations: 0 / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.6597, allocations: 0 / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.6597, allocations: 1.844 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6597, allocations: 3.938 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.6599, allocations: 161.2 kB / 0.9551 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.6599, allocations: 78.17 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.6599, allocations: 1.406 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.66, allocations: 1.312 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.66, allocations: 5.484 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.66, allocations: 1.188 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.6601, allocations: 97.55 kB / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6601, allocations: 0 / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002226/0.6603, allocations: 21.28 kB / 0.9553 GB, free: 3.918 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 (2): * Single equations (assignments): 2 * 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.0003451/0.6607, allocations: 0.6887 MB / 0.9559 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.6608, allocations: 22.45 kB / 0.956 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6608, allocations: 5.781 kB / 0.956 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.6609, allocations: 14.73 kB / 0.956 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.6611, allocations: 6.406 kB / 0.956 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.662, allocations: 1.297 MB / 0.9572 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.6622, allocations: 0.6879 MB / 0.9579 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.6622, allocations: 2.875 kB / 0.9579 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.6622, allocations: 20.8 kB / 0.9579 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.6622, allocations: 1.438 kB / 0.9579 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.6786, allocations: 1.475 MB / 0.9594 GB, free: 420 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.665, allocations: 7.266 kB / 0.9594 GB, free: 416 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches