Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.004338/0.004338, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001561/0.001561, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.941/1.941, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.826e-05, allocations: 13.2 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001168/0.001186, allocations: 0.6575 MB / 0.7607 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003588/0.001545, allocations: 188.2 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.124e-05/0.001556, allocations: 0 / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.001571, allocations: 0.875 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.001577, allocations: 1.469 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.001866, allocations: 56.84 kB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.474e-05/0.001901, allocations: 0 / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.001937, allocations: 5.25 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.001964, allocations: 0 / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.965e-05/0.001983, allocations: 0 / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.001991, allocations: 0.5469 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.002158, allocations: 70.64 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.002169, allocations: 0 / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.04e-05/0.00218, allocations: 4 kB / 0.7611 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.39e-05/0.002274, allocations: 41.28 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002276, allocations: 0 / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.72e-07/0.002276, allocations: 0.5312 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.002279, allocations: 1.562 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001735/0.002453, allocations: 220.6 kB / 0.7613 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.002482, allocations: 8.031 kB / 0.7613 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.002504, allocations: 5.484 kB / 0.7613 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.981e-05/0.002563, allocations: 102.8 kB / 0.7614 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.002572, allocations: 4.375 kB / 0.7614 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.002577, allocations: 384 / 0.7614 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.741e-05/0.002634, allocations: 35.48 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.00264, allocations: 1.062 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.002645, allocations: 384 / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.002649, allocations: 1.125 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-06/0.002659, allocations: 3.938 kB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.435e-05/0.002723, allocations: 61.78 kB / 0.7615 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.164e-05/0.002755, allocations: 14.58 kB / 0.7615 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.002e-05/0.002765, allocations: 9.703 kB / 0.7615 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.003086, allocations: 84.14 kB / 0.7616 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.003109, allocations: 39.25 kB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.00311, allocations: 0 / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.996e-05/0.00319, allocations: 29.7 kB / 0.7617 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.003214, allocations: 51.41 kB / 0.7617 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.657e-05/0.003241, allocations: 89.86 kB / 0.7618 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.00325, allocations: 32.83 kB / 0.7619 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.003271, allocations: 80.14 kB / 0.7619 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.003294, allocations: 0.875 kB / 0.7619 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.003314, allocations: 9.719 kB / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.003394, allocations: 322.8 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-06/0.003398, allocations: 0 / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-06/0.003403, allocations: 0 / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.003426, allocations: 18.61 kB / 0.7623 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.003427, allocations: 0 / 0.7623 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.522e-05/0.003462, allocations: 29.7 kB / 0.7623 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.003473, allocations: 4.656 kB / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.003476, allocations: 0 / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.003485, allocations: 3.125 kB / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.921e-05/0.003514, allocations: 7.984 kB / 0.7623 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.003516, allocations: 0 / 0.7623 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-06/0.003523, allocations: 0 / 0.7623 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.003526, allocations: 0.9844 kB / 0.7623 GB, free: 4.152 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.77e-05/0.003574, allocations: 113.8 kB / 0.7624 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.003578, allocations: 0 / 0.7624 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.003624, allocations: 39.42 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.003628, allocations: 7.969 kB / 0.7625 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.00363, allocations: 4 kB / 0.7625 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.003633, allocations: 0 / 0.7625 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.47e-05/0.003678, allocations: 61.84 kB / 0.7625 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.003678, allocations: 4 kB / 0.7625 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.003684, allocations: 0.7656 kB / 0.7625 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.003685, allocations: 0 / 0.7625 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.003688, allocations: 1.562 kB / 0.7625 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.003689, allocations: 0 / 0.7625 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.003689, allocations: 0 / 0.7625 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.143e-05/0.003741, allocations: 70.28 kB / 0.7626 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.003746, allocations: 3.984 kB / 0.7626 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-06/0.003753, allocations: 0.9844 kB / 0.7626 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-06/0.003757, allocations: 4 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.003768, allocations: 0.5312 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.003769, allocations: 0.8438 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.671e-06/0.003775, allocations: 4.859 kB / 0.7626 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.003775, allocations: 0.875 kB / 0.7626 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001148/0.00389, allocations: 15.94 kB / 0.7626 GB, free: 3.777 MB / 0.7136 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 (1): * Single equations (assignments): 1 * 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.0001478/0.004038, allocations: 98.45 kB / 0.7627 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.811e-05/0.004096, allocations: 11.33 kB / 0.7627 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.004098, allocations: 0 / 0.7627 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.004105, allocations: 9.578 kB / 0.7628 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.544e-05/0.004161, allocations: 14.39 kB / 0.7628 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.00433, allocations: 87.44 kB / 0.7628 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.004368, allocations: 56.44 kB / 0.7629 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.438e-06/0.004378, allocations: 0 / 0.7629 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.004404, allocations: 47.38 kB / 0.7629 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.004405, allocations: 4.938 kB / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of Templates: time 0.001742/0.006147, allocations: 477.5 kB / 0.7634 GB, free: 2.949 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.980537676252425]