Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001107/0.001107, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001198/0.001198, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9133/0.9133, allocations: 177.1 MB / 203.5 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.709/1.709, allocations: 377.8 MB / 0.6228 GB, free: 8.664 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: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.515e-05, allocations: 5.938 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003497/0.003522, allocations: 3.177 MB / 0.9853 GB, free: 14.92 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004985, allocations: 1.375 MB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.005097, allocations: 11.94 kB / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.005722, allocations: 342.5 kB / 0.987 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.005964, allocations: 159 kB / 0.9871 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.006191, allocations: 155.5 kB / 0.9873 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.006463, allocations: 342.7 kB / 0.9876 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.006783, allocations: 204 kB / 0.9878 GB, free: 12.34 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.007004, allocations: 195.4 kB / 0.988 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.007194, allocations: 135.6 kB / 0.9881 GB, free: 12.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.007222, allocations: 20 kB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.007391, allocations: 163.5 kB / 0.9883 GB, free: 11.84 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.007462, allocations: 87.73 kB / 0.9884 GB, free: 11.75 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.007529, allocations: 83.83 kB / 0.9884 GB, free: 11.67 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.007857, allocations: 378.7 kB / 0.9888 GB, free: 11.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007861, allocations: 8 kB / 0.9888 GB, free: 11.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.007862, allocations: 0 / 0.9888 GB, free: 11.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.007866, allocations: 0 / 0.9888 GB, free: 11.29 MB / 0.948 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.0006258/0.008492, allocations: 477.4 kB / 0.9893 GB, free: 10.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.008526, allocations: 8.031 kB / 0.9893 GB, free: 10.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.008883, allocations: 96.7 kB / 0.9894 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.009121, allocations: 198 kB / 0.9896 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.009137, allocations: 16.88 kB / 0.9896 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.009161, allocations: 24.31 kB / 0.9896 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.009539, allocations: 394.8 kB / 0.99 GB, free: 10 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.009549, allocations: 192 / 0.99 GB, free: 10 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.009569, allocations: 8.375 kB / 0.99 GB, free: 9.996 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.009595, allocations: 20.44 kB / 0.99 GB, free: 9.973 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.00983, allocations: 221.7 kB / 0.9902 GB, free: 9.758 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008668/0.0107, allocations: 1.019 MB / 0.9912 GB, free: 8.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.01097, allocations: 118.6 kB / 0.9913 GB, free: 8.555 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.01103, allocations: 36.84 kB / 0.9914 GB, free: 8.516 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.01104, allocations: 7.938 kB / 0.9914 GB, free: 8.508 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.01106, allocations: 30.56 kB / 0.9914 GB, free: 8.469 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.01106, allocations: 0 / 0.9914 GB, free: 8.469 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0005188/0.01158, allocations: 186.6 kB / 0.9916 GB, free: 8.277 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.01161, allocations: 59.41 kB / 0.9916 GB, free: 8.207 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.01174, allocations: 201 kB / 0.9918 GB, free: 8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.01175, allocations: 25.7 kB / 0.9918 GB, free: 7.969 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.01183, allocations: 180.1 kB / 0.992 GB, free: 7.789 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.01185, allocations: 31.73 kB / 0.992 GB, free: 7.758 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.01189, allocations: 37.67 kB / 0.9921 GB, free: 7.715 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.01197, allocations: 326.8 kB / 0.9924 GB, free: 7.387 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.01203, allocations: 43.98 kB / 0.9924 GB, free: 7.344 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.01211, allocations: 112.5 kB / 0.9925 GB, free: 7.203 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01226, allocations: 176.3 kB / 0.9927 GB, free: 7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01226, allocations: 0 / 0.9927 GB, free: 7 MB / 0.948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002134/0.01248, allocations: 210.1 kB / 0.9929 GB, free: 6.785 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01249, allocations: 8 kB / 0.9929 GB, free: 6.777 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01249, allocations: 0 / 0.9929 GB, free: 6.777 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.01261, allocations: 28.84 kB / 0.9929 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.01268, allocations: 31.92 kB / 0.993 GB, free: 6.715 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006497/0.01333, allocations: 1.311 MB / 0.9943 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.01339, allocations: 15.89 kB / 0.9943 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.01341, allocations: 11.98 kB / 0.9943 GB, free: 5.27 MB / 0.948 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 8.34e-05/0.01349, allocations: 141.8 kB / 0.9944 GB, free: 5.121 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.01351, allocations: 19.84 kB / 0.9944 GB, free: 5.102 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.01353, allocations: 21.41 kB / 0.9945 GB, free: 5.082 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01353, allocations: 12.14 kB / 0.9945 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.01353, allocations: 4.062 kB / 0.9945 GB, free: 5.066 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.01354, allocations: 0 / 0.9945 GB, free: 5.066 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.01387, allocations: 406.9 kB / 0.9949 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01387, allocations: 0 / 0.9949 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.0139, allocations: 8 kB / 0.9949 GB, free: 4.621 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.113e-05/0.01395, allocations: 24.84 kB / 0.9949 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.01396, allocations: 3.984 kB / 0.9949 GB, free: 4.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005519/0.01451, allocations: 1.295 MB / 0.9962 GB, free: 3.195 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01451, allocations: 3.938 kB / 0.9962 GB, free: 3.191 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.01467, allocations: 232.2 kB / 0.9964 GB, free: 2.945 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.0147, allocations: 27.83 kB / 0.9964 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.01471, allocations: 3.938 kB / 0.9964 GB, free: 2.914 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.01478, allocations: 12.14 kB / 0.9964 GB, free: 2.902 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.01481, allocations: 8 kB / 0.9964 GB, free: 2.895 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.01481, allocations: 3.984 kB / 0.9964 GB, free: 2.891 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.431e-05/0.01489, allocations: 139.3 kB / 0.9966 GB, free: 2.754 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01489, allocations: 0 / 0.9966 GB, free: 2.754 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001985/0.01508, allocations: 59.84 kB / 0.9966 GB, free: 2.695 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: 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 7.226e-05/0.01516, allocations: 103.8 kB / 0.9967 GB, free: 2.586 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.01542, allocations: 230.7 kB / 0.9969 GB, free: 2.348 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01542, allocations: 192 / 0.9969 GB, free: 2.348 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.957e-05/0.01552, allocations: 154.6 kB / 0.9971 GB, free: 2.184 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01576, allocations: 44.31 kB / 0.9971 GB, free: 2.145 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.0162, allocations: 424.6 kB / 0.9975 GB, free: 1.691 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.106e-05/0.01629, allocations: 144.2 kB / 0.9977 GB, free: 1.531 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.01633, allocations: 16.5 kB / 0.9977 GB, free: 1.516 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.01633, allocations: 4 kB / 0.9977 GB, free: 1.512 MB / 0.948 GB Notification: Performance of Templates: time 0.003301/0.01963, allocations: 3.296 MB / 1.001 GB, free: 14.22 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.070897436700761]