Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.002325/0.002325, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.003238/0.003238, allocations: 156.5 kB / 23 MB, free: 4.949 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.595/1.595, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [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.00214/0.00214, allocations: 67.84 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.413, allocations: 169.9 MB / 1.117 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005543/0.4185, allocations: 3.208 MB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.4213, allocations: 1.391 MB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.4214, allocations: 11.94 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.4226, allocations: 334.5 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.423, allocations: 155.2 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.4235, allocations: 163.5 kB / 1.123 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00051/0.424, allocations: 330.9 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.4245, allocations: 192.1 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.4248, allocations: 155.4 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.4251, allocations: 139.5 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.4252, allocations: 20 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.4255, allocations: 159.7 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.4257, allocations: 87.72 kB / 1.124 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.4258, allocations: 103.5 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.4263, allocations: 366.6 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.4263, allocations: 0 / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4263, allocations: 0 / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.4264, allocations: 4 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001142/0.4275, allocations: 485.3 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.4276, allocations: 12.03 kB / 1.125 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007316/0.4283, allocations: 96.66 kB / 1.125 GB, free: 11.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.4287, allocations: 198.8 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4287, allocations: 12.88 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4287, allocations: 20.38 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.4293, allocations: 406.4 kB / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4293, allocations: 0 / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.4294, allocations: 8 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.4294, allocations: 20.5 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.4298, allocations: 213.8 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.4313, allocations: 1.015 MB / 1.126 GB, free: 9.125 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.4318, allocations: 122.5 kB / 1.127 GB, free: 8.996 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4319, allocations: 40.91 kB / 1.127 GB, free: 8.953 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.4319, allocations: 0 / 1.127 GB, free: 8.953 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.4319, allocations: 38.56 kB / 1.127 GB, free: 8.906 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4319, allocations: 0 / 1.127 GB, free: 8.906 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0006313/0.4326, allocations: 186.3 kB / 1.127 GB, free: 8.715 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4326, allocations: 55.39 kB / 1.127 GB, free: 8.648 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.4329, allocations: 201.2 kB / 1.127 GB, free: 8.441 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.4329, allocations: 29.7 kB / 1.127 GB, free: 8.406 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4331, allocations: 184 kB / 1.127 GB, free: 8.219 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.4331, allocations: 31.73 kB / 1.127 GB, free: 8.188 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.4332, allocations: 37.7 kB / 1.127 GB, free: 8.145 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4333, allocations: 330.8 kB / 1.128 GB, free: 7.812 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.4334, allocations: 43.97 kB / 1.128 GB, free: 7.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.4336, allocations: 110.9 kB / 1.128 GB, free: 7.633 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.4339, allocations: 172.3 kB / 1.128 GB, free: 7.434 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4339, allocations: 0 / 1.128 GB, free: 7.434 MB / 1.076 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000407/0.4343, allocations: 222.1 kB / 1.128 GB, free: 7.207 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4343, allocations: 7.125 kB / 1.128 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4343, allocations: 4 kB / 1.128 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.4345, allocations: 24.84 kB / 1.128 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.4347, allocations: 36.2 kB / 1.128 GB, free: 7.137 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.4359, allocations: 1.299 MB / 1.129 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.436, allocations: 23.86 kB / 1.13 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.436, allocations: 12 kB / 1.13 GB, free: 5.699 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.4362, allocations: 137.8 kB / 1.13 GB, free: 5.555 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.4362, allocations: 24 kB / 1.13 GB, free: 5.531 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.4362, allocations: 21.52 kB / 1.13 GB, free: 5.516 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4363, allocations: 4 kB / 1.13 GB, free: 5.512 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.4363, allocations: 0 / 1.13 GB, free: 5.512 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4363, allocations: 0 / 1.13 GB, free: 5.512 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.4369, allocations: 418.8 kB / 1.13 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4369, allocations: 0 / 1.13 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.4369, allocations: 8 kB / 1.13 GB, free: 5.055 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-05/0.437, allocations: 28.78 kB / 1.13 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.437, allocations: 7.984 kB / 1.13 GB, free: 5.016 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.4381, allocations: 1.287 MB / 1.131 GB, free: 3.625 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4381, allocations: 3.938 kB / 1.131 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.4384, allocations: 236.3 kB / 1.132 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.4385, allocations: 23.83 kB / 1.132 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.4385, allocations: 8.156 kB / 1.132 GB, free: 3.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4386, allocations: 7.984 kB / 1.132 GB, free: 3.332 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.4387, allocations: 7.984 kB / 1.132 GB, free: 3.324 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4387, allocations: 0 / 1.132 GB, free: 3.324 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001418/0.4388, allocations: 147.3 kB / 1.132 GB, free: 3.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4388, allocations: 0 / 1.132 GB, free: 3.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003431/0.4392, allocations: 55.89 kB / 1.132 GB, free: 3.125 MB / 1.076 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.4393, allocations: 95.19 kB / 1.132 GB, free: 3.023 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.4398, allocations: 230.5 kB / 1.132 GB, free: 2.785 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4398, allocations: 0 / 1.132 GB, free: 2.785 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.44, allocations: 162.6 kB / 1.132 GB, free: 2.613 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.4404, allocations: 44.7 kB / 1.132 GB, free: 2.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.4411, allocations: 404.3 kB / 1.133 GB, free: 2.145 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.4413, allocations: 144.2 kB / 1.133 GB, free: 1.984 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.353e-05/0.4414, allocations: 30.08 kB / 1.133 GB, free: 1.957 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4414, allocations: 16.5 kB / 1.133 GB, free: 1.941 MB / 1.076 GB Notification: Performance of SimCode: time 4.1e-07/0.4414, allocations: 0 / 1.133 GB, free: 1.941 MB / 1.076 GB Notification: Performance of Templates: time 0.005986/0.4474, allocations: 1.849 MB / 1.135 GB, free: 140 kB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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: 9.933684861054644]