Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001421/0.001421, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001167/0.001167, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.144/2.144, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] 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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.392e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005407/0.005441, allocations: 3.367 MB / 0.8815 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.008728, allocations: 2.043 MB / 0.8835 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.008909, allocations: 9.875 kB / 0.8835 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009493/0.009858, allocations: 302.6 kB / 0.8838 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.0104, allocations: 245.2 kB / 0.884 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.01109, allocations: 281.5 kB / 0.8843 GB, free: 436 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.01147, allocations: 422.6 kB / 0.8847 GB, free: 12 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.01187, allocations: 180.2 kB / 0.8848 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.01224, allocations: 220.8 kB / 0.8851 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.01262, allocations: 187.5 kB / 0.8852 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.01267, allocations: 24 kB / 0.8853 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.01304, allocations: 255.3 kB / 0.8855 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.0132, allocations: 139.6 kB / 0.8856 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.01333, allocations: 107.7 kB / 0.8857 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.01392, allocations: 390.8 kB / 0.8861 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01392, allocations: 0 / 0.8861 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01392, allocations: 0 / 0.8861 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.01393, allocations: 0 / 0.8861 GB, free: 14.54 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009593/0.01489, allocations: 0.636 MB / 0.8867 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.01494, allocations: 8.031 kB / 0.8867 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009591/0.0159, allocations: 160.4 kB / 0.8869 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.01628, allocations: 229.9 kB / 0.8871 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.01631, allocations: 20.88 kB / 0.8871 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.01644, allocations: 36.73 kB / 0.8872 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.017, allocations: 417.3 kB / 0.8876 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01701, allocations: 192 / 0.8876 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.01704, allocations: 15.94 kB / 0.8876 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.01717, allocations: 36.47 kB / 0.8876 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.01767, allocations: 162.8 kB / 0.8878 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.01966, allocations: 1.837 MB / 0.8896 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.0199, allocations: 158.9 kB / 0.8897 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.01999, allocations: 63.66 kB / 0.8898 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.02001, allocations: 4 kB / 0.8898 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.02003, allocations: 41.39 kB / 0.8898 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.884e-06/0.02003, allocations: 0 / 0.8898 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001013/0.02105, allocations: 0.5477 MB / 0.8903 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.02108, allocations: 59.34 kB / 0.8904 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.02129, allocations: 294.3 kB / 0.8907 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.02131, allocations: 29.7 kB / 0.8907 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.02141, allocations: 235.1 kB / 0.8909 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.02146, allocations: 95.2 kB / 0.891 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.02155, allocations: 83.3 kB / 0.8911 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.02168, allocations: 0.504 MB / 0.8916 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.02178, allocations: 59.95 kB / 0.8917 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.02194, allocations: 184.7 kB / 0.8918 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.02221, allocations: 262.1 kB / 0.8921 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.02221, allocations: 0 / 0.8921 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005721/0.02278, allocations: 395 kB / 0.8925 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.0228, allocations: 10.02 kB / 0.8925 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.02281, allocations: 4 kB / 0.8925 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.0234, allocations: 187.7 kB / 0.8927 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.02357, allocations: 67.89 kB / 0.8927 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.02518, allocations: 2.186 MB / 0.8949 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.02533, allocations: 15.98 kB / 0.8949 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.02535, allocations: 19.98 kB / 0.8949 GB, free: 4.984 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.02546, allocations: 176.5 kB / 0.8951 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.0255, allocations: 27.86 kB / 0.8951 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.02575, allocations: 213.6 kB / 0.8953 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.02575, allocations: 0 / 0.8953 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.02575, allocations: 7.969 kB / 0.8953 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.02576, allocations: 0 / 0.8953 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.02626, allocations: 0.5758 MB / 0.8959 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02627, allocations: 0 / 0.8959 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.02647, allocations: 79.86 kB / 0.8959 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.02647, allocations: 4 kB / 0.8959 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.02648, allocations: 7.938 kB / 0.8959 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.02649, allocations: 7.984 kB / 0.8959 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02649, allocations: 0 / 0.8959 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.02682, allocations: 420.4 kB / 0.8964 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.02689, allocations: 47.77 kB / 0.8964 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.02691, allocations: 11.94 kB / 0.8964 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.02701, allocations: 15.98 kB / 0.8964 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.02704, allocations: 15.97 kB / 0.8964 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.02705, allocations: 4 kB / 0.8964 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001123/0.02717, allocations: 196 kB / 0.8966 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02717, allocations: 0 / 0.8966 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002523/0.02742, allocations: 92 kB / 0.8967 GB, free: 3.02 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0001451/0.02756, allocations: 115.2 kB / 0.8968 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.0282, allocations: 433.6 kB / 0.8972 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.0282, allocations: 0.625 kB / 0.8972 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.02832, allocations: 88.91 kB / 0.8973 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.02872, allocations: 61.05 kB / 0.8974 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.03022, allocations: 0.6985 MB / 0.8981 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.115e-05/0.03031, allocations: 116.3 kB / 0.8982 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.03048, allocations: 62.22 kB / 0.8982 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.03055, allocations: 20.5 kB / 0.8983 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.03055, allocations: 0 / 0.8983 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of Templates: time 0.008039/0.03859, allocations: 4.213 MB / 0.9024 GB, free: 13.2 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.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: 5.830519336974248]