Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001932/0.001932, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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.002159/0.002159, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.674/1.674, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.434/3.434, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.8774 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.862e-05, allocations: 2.312 kB / 0.8774 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.009015/0.009053, allocations: 3.136 MB / 0.8805 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.01322, allocations: 1.359 MB / 0.8818 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.01351, allocations: 13.06 kB / 0.8818 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.0152, allocations: 339.8 kB / 0.8822 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.01594, allocations: 144.1 kB / 0.8823 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.01655, allocations: 140.2 kB / 0.8824 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.01726, allocations: 314.3 kB / 0.8827 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.01792, allocations: 188.6 kB / 0.8829 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.01837, allocations: 171.6 kB / 0.8831 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.01889, allocations: 131.6 kB / 0.8832 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.01896, allocations: 16 kB / 0.8832 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.01943, allocations: 155.5 kB / 0.8834 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.01963, allocations: 83.81 kB / 0.8834 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.01985, allocations: 83.81 kB / 0.8835 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.02078, allocations: 351.9 kB / 0.8838 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.02078, allocations: 0 / 0.8838 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.743e-06/0.02078, allocations: 0 / 0.8838 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.0208, allocations: 0.5 kB / 0.8838 GB, free: 14.97 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001459/0.02225, allocations: 0.5595 MB / 0.8844 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.02231, allocations: 8.031 kB / 0.8844 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.02337, allocations: 118.5 kB / 0.8845 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.0239, allocations: 193.4 kB / 0.8847 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.02393, allocations: 12.75 kB / 0.8847 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.02399, allocations: 20.38 kB / 0.8847 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.02476, allocations: 315.7 kB / 0.885 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.02478, allocations: 4.188 kB / 0.885 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.02482, allocations: 4.375 kB / 0.885 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.02488, allocations: 20.3 kB / 0.8851 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.02528, allocations: 105 kB / 0.8852 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.0278, allocations: 1.291 MB / 0.8864 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.02812, allocations: 79.05 kB / 0.8865 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.02819, allocations: 19.69 kB / 0.8865 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.02822, allocations: 8 kB / 0.8865 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.02827, allocations: 41.33 kB / 0.8866 GB, free: 12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.02827, allocations: 0 / 0.8866 GB, free: 12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.000624/0.02889, allocations: 125.3 kB / 0.8867 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.02896, allocations: 51.41 kB / 0.8867 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.02937, allocations: 258.6 kB / 0.887 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.0294, allocations: 29.7 kB / 0.887 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.02963, allocations: 218.7 kB / 0.8872 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.02968, allocations: 27.78 kB / 0.8872 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.0298, allocations: 51.33 kB / 0.8873 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003919/0.03019, allocations: 0.4962 MB / 0.8878 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/0.03028, allocations: 23.98 kB / 0.8878 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.0305, allocations: 122.6 kB / 0.8879 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.03082, allocations: 164.6 kB / 0.8881 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.03083, allocations: 0 / 0.8881 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005038/0.03133, allocations: 169 kB / 0.8882 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.03136, allocations: 8 kB / 0.8882 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.03137, allocations: 0 / 0.8882 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.03168, allocations: 43.94 kB / 0.8883 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.03186, allocations: 31.92 kB / 0.8883 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.03417, allocations: 1.756 MB / 0.89 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.03438, allocations: 24.02 kB / 0.8901 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.0344, allocations: 7.984 kB / 0.8901 GB, free: 8.121 MB / 0.8073 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 (17): * Single equations (assignments): 16 * 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.0002293/0.03463, allocations: 176.5 kB / 0.8902 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.0347, allocations: 11.95 kB / 0.8902 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.03475, allocations: 21.45 kB / 0.8903 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.03476, allocations: 7.875 kB / 0.8903 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.03476, allocations: 0 / 0.8903 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.03476, allocations: 0 / 0.8903 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.03545, allocations: 428.9 kB / 0.8907 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.03545, allocations: 4 kB / 0.8907 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.03549, allocations: 8 kB / 0.8907 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.03566, allocations: 35.66 kB / 0.8907 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.03567, allocations: 0 / 0.8907 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.03737, allocations: 1.752 MB / 0.8924 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03737, allocations: 0 / 0.8924 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.03768, allocations: 247.5 kB / 0.8927 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.03774, allocations: 23.83 kB / 0.8927 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.03775, allocations: 0 / 0.8927 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.03786, allocations: 7.938 kB / 0.8927 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.03791, allocations: 15.97 kB / 0.8927 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.03792, allocations: 4 kB / 0.8927 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001834/0.0381, allocations: 184.8 kB / 0.8929 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0381, allocations: 0 / 0.8929 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003663/0.03847, allocations: 55.83 kB / 0.8929 GB, free: 4.957 MB / 0.8073 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 (6): * Single equations (assignments): 5 * 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.0001501/0.03862, allocations: 99.23 kB / 0.893 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.03909, allocations: 257.3 kB / 0.8933 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.0391, allocations: 0.5625 kB / 0.8933 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.03932, allocations: 205.5 kB / 0.8935 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.03968, allocations: 19.98 kB / 0.8935 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.04042, allocations: 346.6 kB / 0.8938 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.0406, allocations: 135.9 kB / 0.894 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.549e-05/0.04068, allocations: 25.45 kB / 0.894 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.04072, allocations: 16.5 kB / 0.894 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of SimCode: time 8.51e-07/0.04073, allocations: 0 / 0.894 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.006131/0.04686, allocations: 1.668 MB / 0.8956 GB, free: 2.156 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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: 8.942605655058287]