Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001468/0.001468, allocations: 199.5 kB / 16.91 MB, free: 6.191 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 482.2 MB / 0.7548 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 64.28 kB / 0.9238 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8076, allocations: 162.2 MB / 1.082 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002933/0.8106, allocations: 1.559 MB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.8116, allocations: 0.6427 MB / 1.084 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.8117, allocations: 1.188 kB / 1.084 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.8118, allocations: 1.453 kB / 1.084 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.526e-05/0.8118, allocations: 9.188 kB / 1.084 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.8122, allocations: 69.41 kB / 1.084 GB, free: 164 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.8123, allocations: 30.56 kB / 1.084 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.8124, allocations: 17.16 kB / 1.084 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.8125, allocations: 15.03 kB / 1.084 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.8125, allocations: 25.08 kB / 1.084 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.8126, allocations: 7.188 kB / 1.084 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.8128, allocations: 99.12 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.8128, allocations: 6.516 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.8128, allocations: 16.95 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.813, allocations: 62.86 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.813, allocations: 0.625 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.813, allocations: 0.9844 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.813, allocations: 0.5625 kB / 1.085 GB, free: 56 kB / 0.8262 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.0004985/0.8135, allocations: 357.1 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.8136, allocations: 13.5 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.8136, allocations: 11.28 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.8138, allocations: 173.8 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.8138, allocations: 5.281 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.8138, allocations: 3.25 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.814, allocations: 60.3 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.814, allocations: 0.6562 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.814, allocations: 0 / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.814, allocations: 1.125 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.8141, allocations: 32.94 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.8145, allocations: 283.6 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.8146, allocations: 30.28 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.8147, allocations: 17.78 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.8152, allocations: 0.5592 MB / 1.086 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.8153, allocations: 32.31 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8153, allocations: 7.875 kB / 1.086 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002569/0.8155, allocations: 62.17 kB / 1.086 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.8156, allocations: 53.3 kB / 1.086 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8157, allocations: 123.5 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.8157, allocations: 25.7 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.8158, allocations: 89.11 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.8158, allocations: 4.469 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.8159, allocations: 18.28 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.816, allocations: 317.6 kB / 1.087 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.8161, allocations: 12.02 kB / 1.087 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.8161, allocations: 8.281 kB / 1.087 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.195e-05/0.8162, allocations: 32.16 kB / 1.087 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8162, allocations: 0 / 1.087 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001373/0.8163, allocations: 60.78 kB / 1.087 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.8164, allocations: 7.875 kB / 1.087 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8164, allocations: 0.6562 kB / 1.087 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8164, allocations: 1.219 kB / 1.087 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.8165, allocations: 6.844 kB / 1.087 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8165, allocations: 4.031 kB / 1.087 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.8165, allocations: 6.828 kB / 1.087 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.8165, allocations: 1.734 kB / 1.087 GB, free: 13.62 MB / 0.8419 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 8.52e-05/0.8166, allocations: 112.8 kB / 1.087 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.8167, allocations: 10.56 kB / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.8168, allocations: 64.92 kB / 1.087 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8169, allocations: 2.047 kB / 1.087 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8169, allocations: 4.031 kB / 1.087 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8169, allocations: 0 / 1.087 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.8171, allocations: 170.1 kB / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8171, allocations: 0 / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.8171, allocations: 6.281 kB / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8171, allocations: 4.594 kB / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.8171, allocations: 1.469 kB / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.8172, allocations: 0.6562 kB / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8172, allocations: 3.938 kB / 1.087 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.8174, allocations: 160.6 kB / 1.087 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.8174, allocations: 87 kB / 1.088 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.8174, allocations: 1.875 kB / 1.088 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.8175, allocations: 2.188 kB / 1.088 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.8175, allocations: 2.203 kB / 1.088 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.8175, allocations: 1.141 kB / 1.088 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.8176, allocations: 93.81 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8176, allocations: 0.9688 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002394/0.8179, allocations: 24.53 kB / 1.088 GB, free: 12.9 MB / 0.8419 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.0001651/0.818, allocations: 101.8 kB / 1.088 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.8182, allocations: 23.16 kB / 1.088 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8182, allocations: 0 / 1.088 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.8183, allocations: 14.81 kB / 1.088 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.8185, allocations: 8.453 kB / 1.088 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.8188, allocations: 172.2 kB / 1.088 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.8191, allocations: 0.6816 MB / 1.089 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.8192, allocations: 10.16 kB / 1.089 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.8192, allocations: 0 / 1.089 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.002522/0.8217, allocations: 0.7214 MB / 1.089 GB, free: 11.87 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches