Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.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.001134/0.001134, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001254/0.001254, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8738/0.8738, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.7/1.7, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Functions.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.523e-05, allocations: 8.891 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.000999/0.001014, allocations: 0.5916 MB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002729/0.001287, allocations: 103.7 kB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.001305, allocations: 0 / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.001331, allocations: 0 / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.001337, allocations: 0 / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.001669, allocations: 39.84 kB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.001771, allocations: 67.91 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.001805, allocations: 0 / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.001847, allocations: 27.97 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.001883, allocations: 23.95 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.001897, allocations: 4 kB / 0.9818 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.002, allocations: 59.88 kB / 0.9819 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.002031, allocations: 31.83 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.002053, allocations: 15.98 kB / 0.982 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.002172, allocations: 71.88 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002174, allocations: 4 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.272e-06/0.002175, allocations: 3.938 kB / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.002178, allocations: 0 / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003256/0.002504, allocations: 302.2 kB / 0.9823 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.00254, allocations: 8.031 kB / 0.9823 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.002576, allocations: 42.75 kB / 0.9824 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.002602, allocations: 8.938 kB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.072e-05/0.002653, allocations: 109.8 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.002875, allocations: 0.526 MB / 0.983 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.002886, allocations: 4.375 kB / 0.983 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.003033, allocations: 78.19 kB / 0.9831 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.003042, allocations: 4.125 kB / 0.9831 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.00305, allocations: 4.375 kB / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.003056, allocations: 3.938 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.003235, allocations: 127.8 kB / 0.9832 GB, free: 104 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.003376, allocations: 164.5 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.003541, allocations: 86.53 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.003615, allocations: 40.83 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.003636, allocations: 4 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.003656, allocations: 38.5 kB / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.003657, allocations: 0 / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0003099/0.003967, allocations: 145.9 kB / 0.9837 GB, free: 15.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.003995, allocations: 55.34 kB / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.684e-05/0.004022, allocations: 89.86 kB / 0.9838 GB, free: 15.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004033, allocations: 25.7 kB / 0.9838 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.00405, allocations: 80.14 kB / 0.9839 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.004087, allocations: 47.69 kB / 0.9839 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.00412, allocations: 25.7 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.004189, allocations: 318.8 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.004257, allocations: 27.98 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.004322, allocations: 35.97 kB / 0.9843 GB, free: 14.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.004464, allocations: 77.34 kB / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004466, allocations: 0 / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001739/0.00464, allocations: 117.5 kB / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.004651, allocations: 4 kB / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.004656, allocations: 0 / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004667, allocations: 7.938 kB / 0.9845 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.004751, allocations: 27.97 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.004755, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.004785, allocations: 12 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.004797, allocations: 7.984 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.713e-05/0.004854, allocations: 117.8 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.004862, allocations: 3.953 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.004889, allocations: 15.95 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.004891, allocations: 3.938 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.004895, allocations: 4 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.004899, allocations: 3.984 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.612e-05/0.004985, allocations: 152.7 kB / 0.9849 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.004986, allocations: 0 / 0.9849 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.005038, allocations: 19.98 kB / 0.9849 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.005041, allocations: 7.984 kB / 0.9849 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.005048, allocations: 0 / 0.9849 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005049, allocations: 3.938 kB / 0.9849 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00505, allocations: 3.938 kB / 0.9849 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.005232, allocations: 148.9 kB / 0.985 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.005237, allocations: 8 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.005247, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.462e-05/0.005271, allocations: 7.938 kB / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.005315, allocations: 15.97 kB / 0.9851 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.00532, allocations: 4 kB / 0.9851 GB, free: 13.99 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.856e-05/0.005339, allocations: 75.28 kB / 0.9851 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.005339, allocations: 0 / 0.9851 GB, free: 13.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001595/0.005498, allocations: 27.94 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004034/0.005902, allocations: 0.6943 MB / 0.9859 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.00608, allocations: 79.94 kB / 0.9859 GB, free: 13.08 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006081, allocations: 0 / 0.9859 GB, free: 13.08 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.006156, allocations: 55.83 kB / 0.986 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.006257, allocations: 14.91 kB / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.006597, allocations: 191.3 kB / 0.9862 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.006641, allocations: 71.2 kB / 0.9862 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.84e-05/0.006729, allocations: 39.95 kB / 0.9863 GB, free: 12.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.006771, allocations: 20.48 kB / 0.9863 GB, free: 12.64 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/0.006771, allocations: 0 / 0.9863 GB, free: 12.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.02065, allocations: 2.665 MB / 0.9889 GB, free: 10.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.056/7.076, allocations: 2.625 kB / 0.9889 GB, free: 10.12 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.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: 11.001759340055287]