Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001002/0.001002, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001025/0.001025, allocations: 177 kB / 23.36 MB, free: 1.129 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.9675/0.9675, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.382/2.382, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.702e-05, allocations: 8.422 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006257/0.006274, allocations: 7.709 MB / 0.8462 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006016/0.01229, allocations: 5.907 MB / 0.8519 GB, free: 488 kB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.0128, allocations: 87.25 kB / 0.852 GB, free: 400 kB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.01354, allocations: 377 kB / 0.8524 GB, free: 20 kB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.01553, allocations: 1.415 MB / 0.8538 GB, free: 14.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.01636, allocations: 0.5692 MB / 0.8543 GB, free: 14.03 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.01805, allocations: 2.364 MB / 0.8566 GB, free: 11.66 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.01913, allocations: 1.211 MB / 0.8578 GB, free: 10.41 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.02054, allocations: 1.547 MB / 0.8593 GB, free: 8.855 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008282/0.02137, allocations: 0.8531 MB / 0.8601 GB, free: 8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.02151, allocations: 140 kB / 0.8603 GB, free: 7.863 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.02194, allocations: 295.6 kB / 0.8606 GB, free: 7.574 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.0223, allocations: 0.5958 MB / 0.8611 GB, free: 6.977 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.02272, allocations: 0.5806 MB / 0.8617 GB, free: 6.395 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.0238, allocations: 1.409 MB / 0.8631 GB, free: 4.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02381, allocations: 0 / 0.8631 GB, free: 4.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.142e-06/0.02381, allocations: 0 / 0.8631 GB, free: 4.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.02382, allocations: 0 / 0.8631 GB, free: 4.98 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001618/0.02544, allocations: 1.849 MB / 0.8649 GB, free: 3.098 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.02547, allocations: 16.61 kB / 0.8649 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.02841, allocations: 0.7808 MB / 0.8657 GB, free: 2.301 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.02947, allocations: 1.053 MB / 0.8667 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.02952, allocations: 78.7 kB / 0.8668 GB, free: 1.117 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.02966, allocations: 124.3 kB / 0.8669 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.03117, allocations: 1.542 MB / 0.8684 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.0312, allocations: 15.88 kB / 0.8684 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.03129, allocations: 51.98 kB / 0.8685 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.03144, allocations: 106.2 kB / 0.8686 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000665/0.0321, allocations: 0.5185 MB / 0.8691 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/0.03634, allocations: 5.301 MB / 0.8742 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.03712, allocations: 403.9 kB / 0.8746 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.03734, allocations: 162.3 kB / 0.8748 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.03737, allocations: 8.5 kB / 0.8748 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.0374, allocations: 39.06 kB / 0.8748 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 1.834e-06/0.0374, allocations: 0 / 0.8748 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.003362/0.04076, allocations: 1.837 MB / 0.8766 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.04079, allocations: 67.84 kB / 0.8767 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.0413, allocations: 0.8395 MB / 0.8775 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.04135, allocations: 33.7 kB / 0.8775 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.0416, allocations: 0.5994 MB / 0.8781 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.04172, allocations: 202.2 kB / 0.8783 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.04191, allocations: 154.5 kB / 0.8785 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.04202, allocations: 333.9 kB / 0.8788 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.04222, allocations: 145.9 kB / 0.8789 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.0425, allocations: 376.9 kB / 0.8793 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.04302, allocations: 0.573 MB / 0.8798 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.04302, allocations: 0 / 0.8798 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001042/0.04407, allocations: 0.8014 MB / 0.8806 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.04409, allocations: 11.94 kB / 0.8806 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.0441, allocations: 8 kB / 0.8806 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007921/0.04489, allocations: 350.3 kB / 0.881 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.04541, allocations: 179.7 kB / 0.8811 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.04858, allocations: 5.44 MB / 0.8865 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.04901, allocations: 51.95 kB / 0.8865 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.04907, allocations: 35.97 kB / 0.8865 GB, free: 11.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.04929, allocations: 156.8 kB / 0.8867 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.04941, allocations: 95.83 kB / 0.8868 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.05047, allocations: 0.7422 MB / 0.8875 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.05048, allocations: 8 kB / 0.8875 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.05048, allocations: 8 kB / 0.8875 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.05049, allocations: 3.984 kB / 0.8875 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.05222, allocations: 1.411 MB / 0.8889 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.05222, allocations: 0 / 0.8889 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.05269, allocations: 115.8 kB / 0.889 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007097/0.0534, allocations: 330.5 kB / 0.8893 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.05344, allocations: 23.91 kB / 0.8894 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.0564, allocations: 5.439 MB / 0.8947 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.0564, allocations: 3.938 kB / 0.8947 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.05737, allocations: 0.7867 MB / 0.8954 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.0576, allocations: 207 kB / 0.8956 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.05769, allocations: 16 kB / 0.8957 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.05807, allocations: 31.98 kB / 0.8957 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.05816, allocations: 56.34 kB / 0.8957 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.0582, allocations: 23.97 kB / 0.8958 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003569/0.05856, allocations: 420.6 kB / 0.8962 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05856, allocations: 4 kB / 0.8962 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006602/0.05922, allocations: 344 kB / 0.8965 GB, free: 1.02 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.05938, allocations: 107.6 kB / 0.8966 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.06048, allocations: 1.073 MB / 0.8976 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/0.06049, allocations: 16.62 kB / 0.8977 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.06118, allocations: 0.8192 MB / 0.8985 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.06211, allocations: 483.6 kB / 0.8989 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.06458, allocations: 2.272 MB / 0.9011 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.06481, allocations: 340.5 kB / 0.9015 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000628/0.06543, allocations: 273.7 kB / 0.9017 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/0.06617, allocations: 395 kB / 0.9021 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of SimCode: time 9.11e-07/0.06617, allocations: 0 / 0.9021 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of Templates: time 0.02661/0.09278, allocations: 26.51 MB / 0.928 GB, free: 1.148 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.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.474855090957135]