Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Splice.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.00129/0.00129, allocations: 99.75 kB / 18.95 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.001491/0.001491, allocations: 215 kB / 22.24 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.844 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.381/3.381, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Splice",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.001926/0.001926, allocations: 67.09 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4171, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002884/0.42, allocations: 1.51 MB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4214, allocations: 0.6898 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.4214, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.4215, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.4215, allocations: 3.938 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.422, allocations: 103.6 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.4221, allocations: 39.86 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4223, allocations: 15.92 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.4224, allocations: 15.94 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.4225, allocations: 15.92 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.4225, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.4228, allocations: 123.8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.4228, allocations: 11.98 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.4228, allocations: 23.8 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.4231, allocations: 87.72 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4231, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4231, allocations: 8 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.4231, allocations: 0 / 1.328 GB, free: 14.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006306/0.4237, allocations: 298 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.4238, allocations: 8.031 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.4238, allocations: 30.75 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.424, allocations: 16.88 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.4243, allocations: 126.5 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4243, allocations: 384 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4244, allocations: 12.31 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.4246, allocations: 57.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4246, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.4246, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4246, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.4247, allocations: 19.98 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.4251, allocations: 247.8 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.4252, allocations: 30.56 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.4253, allocations: 12.92 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.4256, allocations: 43.95 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.4256, allocations: 30.56 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4256, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002985/0.4259, allocations: 73.56 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.426, allocations: 51.41 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.4261, allocations: 122.1 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4262, allocations: 25.83 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.4262, allocations: 104.1 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.4263, allocations: 3.953 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.4263, allocations: 13.72 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4265, allocations: 322.8 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.4265, allocations: 8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.4266, allocations: 15.92 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.595e-05/0.4267, allocations: 28.84 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4267, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001337/0.4268, allocations: 61.64 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4268, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4268, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4268, allocations: 7.938 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.4269, allocations: 15.97 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4269, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.427, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.427, allocations: 7.938 kB / 1.33 GB, free: 12.93 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 (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 0.0001019/0.4271, allocations: 110.4 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.4271, allocations: 11.95 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.4273, allocations: 65.23 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4273, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4273, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4273, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4275, allocations: 136.7 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4275, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.4276, allocations: 4 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4276, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4276, allocations: 4.031 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4276, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4276, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.4278, allocations: 159.4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.4278, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.4278, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.4279, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.428, allocations: 7.984 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.428, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.4281, allocations: 109.6 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4281, allocations: 4.031 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002362/0.4283, allocations: 15.94 kB / 1.331 GB, free: 12.22 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 (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.0006445/0.4289, allocations: 0.6929 MB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.4291, allocations: 27.97 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4291, allocations: 0 / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.4291, allocations: 15.94 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.4293, allocations: 9.875 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4309, allocations: 1.322 MB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.431, allocations: 67.34 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.431, allocations: 3.984 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.4311, allocations: 15.44 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of SimCode: time 4.8e-07/0.4311, allocations: 7.938 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.4611, allocations: 2.187 MB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.49, allocations: 10.53 kB / 1.335 GB, free: 7.879 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.664396406995365]