Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 111.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.89 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8213, allocations: 160.7 MB / 1.213 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002957/0.8243, allocations: 1.497 MB / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.8255, allocations: 0.6534 MB / 1.215 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.8255, allocations: 0 / 1.215 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.8255, allocations: 5 kB / 1.215 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.8256, allocations: 7.875 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.8259, allocations: 79.3 kB / 1.215 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.826, allocations: 29.98 kB / 1.215 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.8261, allocations: 21.73 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.8262, allocations: 18.05 kB / 1.215 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.8262, allocations: 12.69 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.8263, allocations: 3.719 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.8265, allocations: 113.2 kB / 1.215 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.8265, allocations: 1.156 kB / 1.215 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.8265, allocations: 27.98 kB / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.8267, allocations: 83.34 kB / 1.215 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8267, allocations: 0 / 1.215 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8267, allocations: 0.75 kB / 1.215 GB, free: 1.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.8267, allocations: 4 kB / 1.215 GB, free: 1.969 MB / 0.92 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.0005316/0.8273, allocations: 361.5 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.8273, allocations: 9.609 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.8274, allocations: 35.88 kB / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.8274, allocations: 11.95 kB / 1.216 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.8276, allocations: 171.5 kB / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.8276, allocations: 5.312 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.8276, allocations: 6.531 kB / 1.216 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.8278, allocations: 62.97 kB / 1.216 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.8278, allocations: 0 / 1.216 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.8279, allocations: 3.984 kB / 1.216 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8279, allocations: 1.062 kB / 1.216 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.828, allocations: 27.17 kB / 1.216 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.8284, allocations: 279.5 kB / 1.216 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.8285, allocations: 39.56 kB / 1.216 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.8285, allocations: 15 kB / 1.216 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/0.8291, allocations: 0.561 MB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.8292, allocations: 31.59 kB / 1.217 GB, free: 192 kB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8292, allocations: 0 / 1.217 GB, free: 192 kB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002777/0.8294, allocations: 68.75 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.8295, allocations: 55.34 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.8296, allocations: 122.8 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.8296, allocations: 25.7 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.8297, allocations: 86.55 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.8297, allocations: 9.125 kB / 1.217 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.8297, allocations: 12.22 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8299, allocations: 324.1 kB / 1.218 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.83, allocations: 13.86 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.83, allocations: 5.906 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.8301, allocations: 25.31 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8301, allocations: 0 / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001322/0.8302, allocations: 59.91 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.8302, allocations: 4.594 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8302, allocations: 7.938 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8302, allocations: 1.188 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.8303, allocations: 4.031 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8303, allocations: 0.9375 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.8303, allocations: 1.906 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.8304, allocations: 13.03 kB / 1.218 GB, free: 15.4 MB / 0.9356 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.6e-05/0.8304, allocations: 112.5 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.8305, allocations: 9.328 kB / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.8307, allocations: 66.33 kB / 1.218 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8307, allocations: 1.188 kB / 1.218 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.8307, allocations: 0 / 1.218 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.8307, allocations: 0 / 1.218 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.8309, allocations: 174.1 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.8309, allocations: 3.938 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.8309, allocations: 8.031 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8309, allocations: 1.188 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.8309, allocations: 3.984 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.8309, allocations: 4.969 kB / 1.218 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8309, allocations: 0 / 1.218 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.8311, allocations: 146.4 kB / 1.218 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.8312, allocations: 85.91 kB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.8312, allocations: 8.734 kB / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.8313, allocations: 5.594 kB / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.8313, allocations: 1.531 kB / 1.218 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.8313, allocations: 4.719 kB / 1.218 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.823e-05/0.8314, allocations: 102.3 kB / 1.218 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8314, allocations: 1.094 kB / 1.218 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002317/0.8316, allocations: 8.344 kB / 1.218 GB, free: 14.64 MB / 0.9356 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.000532/0.8321, allocations: 0.6934 MB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.8323, allocations: 21.77 kB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8323, allocations: 1.406 kB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.8323, allocations: 18.7 kB / 1.219 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.8325, allocations: 1.094 kB / 1.219 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.8339, allocations: 1.315 MB / 1.22 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.8342, allocations: 0.6794 MB / 1.221 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.8343, allocations: 7.141 kB / 1.221 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.8343, allocations: 16.47 kB / 1.221 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.8343, allocations: 1.125 kB / 1.221 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.8585, allocations: 1.513 MB / 1.223 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/9.111, allocations: 7.672 kB / 1.223 GB, free: 11.11 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.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: 14.969085235148668]