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.0009583/0.0009583, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009585/0.0009585, allocations: 169 kB / 24.28 MB, free: 276 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 0.9418/0.9418, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.281e-05, allocations: 6.25 kB / 0.7871 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005069/0.005092, allocations: 3.317 MB / 0.7903 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.007392, allocations: 1.446 MB / 0.7917 GB, free: 6.945 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.007546, allocations: 7.938 kB / 0.7917 GB, free: 6.938 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009125/0.008458, allocations: 345.4 kB / 0.7921 GB, free: 6.602 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.008814, allocations: 160.2 kB / 0.7922 GB, free: 6.445 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.009181, allocations: 164 kB / 0.7924 GB, free: 6.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.009591, allocations: 338.7 kB / 0.7927 GB, free: 5.953 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.01001, allocations: 205.4 kB / 0.7929 GB, free: 5.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.01035, allocations: 195.5 kB / 0.7931 GB, free: 5.559 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.01063, allocations: 135.6 kB / 0.7932 GB, free: 5.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.01067, allocations: 20.69 kB / 0.7932 GB, free: 5.406 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.01095, allocations: 164.4 kB / 0.7934 GB, free: 5.246 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.01106, allocations: 91.73 kB / 0.7935 GB, free: 5.156 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.01117, allocations: 83.77 kB / 0.7935 GB, free: 5.074 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.01161, allocations: 295.6 kB / 0.7938 GB, free: 4.785 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01161, allocations: 0.7188 kB / 0.7938 GB, free: 4.785 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01161, allocations: 0 / 0.7938 GB, free: 4.785 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.01162, allocations: 3.406 kB / 0.7938 GB, free: 4.785 MB / 0.698 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.0008392/0.01246, allocations: 0.5736 MB / 0.7944 GB, free: 4.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.0125, allocations: 8.031 kB / 0.7944 GB, free: 4.168 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.01322, allocations: 128.6 kB / 0.7945 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.01355, allocations: 204 kB / 0.7947 GB, free: 3.816 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.01358, allocations: 16.86 kB / 0.7947 GB, free: 3.801 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.01362, allocations: 16.38 kB / 0.7947 GB, free: 3.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.01418, allocations: 324.5 kB / 0.7951 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.01419, allocations: 1.531 kB / 0.7951 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.01422, allocations: 12.38 kB / 0.7951 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.01427, allocations: 20.44 kB / 0.7951 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.01449, allocations: 87.41 kB / 0.7952 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.01579, allocations: 1.273 MB / 0.7964 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.01612, allocations: 100.5 kB / 0.7965 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.01618, allocations: 27.61 kB / 0.7965 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.0162, allocations: 9.125 kB / 0.7965 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.01623, allocations: 33.39 kB / 0.7966 GB, free: 1.773 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.455e-06/0.01623, allocations: 0 / 0.7966 GB, free: 1.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004073/0.01664, allocations: 130.2 kB / 0.7967 GB, free: 1.637 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.01666, allocations: 52.28 kB / 0.7968 GB, free: 1.574 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.01686, allocations: 249.8 kB / 0.797 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.01688, allocations: 26.52 kB / 0.797 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01701, allocations: 230.8 kB / 0.7972 GB, free: 1.051 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.01703, allocations: 32.27 kB / 0.7973 GB, free: 1.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.0171, allocations: 43.36 kB / 0.7973 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01725, allocations: 0.4975 MB / 0.7978 GB, free: 472 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.0173, allocations: 19.92 kB / 0.7978 GB, free: 452 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.0174, allocations: 111.6 kB / 0.7979 GB, free: 300 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01757, allocations: 148 kB / 0.7981 GB, free: 112 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01758, allocations: 0 / 0.7981 GB, free: 112 kB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003228/0.0179, allocations: 171 kB / 0.7982 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.01792, allocations: 10.69 kB / 0.7982 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.01793, allocations: 4 kB / 0.7982 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.01816, allocations: 33.97 kB / 0.7983 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01827, allocations: 31.98 kB / 0.7983 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.01929, allocations: 1.739 MB / 0.8 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.0194, allocations: 19.83 kB / 0.8 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01942, allocations: 8 kB / 0.8 GB, free: 13.96 MB / 0.7136 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.0001091/0.01953, allocations: 169.4 kB / 0.8002 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.01957, allocations: 15.91 kB / 0.8002 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.0196, allocations: 21.91 kB / 0.8002 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.0196, allocations: 4 kB / 0.8002 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.01961, allocations: 0.5625 kB / 0.8002 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01961, allocations: 0.5625 kB / 0.8002 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.02009, allocations: 422.2 kB / 0.8006 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.02009, allocations: 0 / 0.8006 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.02014, allocations: 12 kB / 0.8006 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.02029, allocations: 37.47 kB / 0.8007 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.0203, allocations: 0 / 0.8007 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009877/0.02129, allocations: 1.733 MB / 0.8024 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02129, allocations: 7.875 kB / 0.8024 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.0215, allocations: 243.5 kB / 0.8026 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.02155, allocations: 27.83 kB / 0.8026 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.02157, allocations: 7.938 kB / 0.8026 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.02168, allocations: 7.984 kB / 0.8027 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.02173, allocations: 7.984 kB / 0.8027 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.02173, allocations: 0 / 0.8027 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001204/0.02185, allocations: 179.6 kB / 0.8028 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02185, allocations: 0 / 0.8028 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003712/0.02222, allocations: 61 kB / 0.8029 GB, free: 10.84 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 (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.0001022/0.02233, allocations: 100.3 kB / 0.803 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.0227, allocations: 246.1 kB / 0.8032 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.0227, allocations: 4.875 kB / 0.8032 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.02286, allocations: 210 kB / 0.8034 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.02325, allocations: 34.64 kB / 0.8035 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.0242, allocations: 377.1 kB / 0.8038 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.72e-05/0.02427, allocations: 91.95 kB / 0.8039 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.775e-05/0.02437, allocations: 30.55 kB / 0.8039 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.02441, allocations: 16.5 kB / 0.8039 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.02441, allocations: 0 / 0.8039 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.004288/0.0287, allocations: 1.884 MB / 0.8058 GB, free: 7.824 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] 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","",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.8950221091508865]